Public Member Functions | |
| install (bool $maintenance=false) | |
| Fuehrt die explizite Schema- und Defaultpflege aus. | |
| seedDemoProducts () | |
| needsDemoSeed () | |
| Schneller Seed-Check ohne Produktdekoration und N+1-Abfragen. | |
| attributeDefinitionsForGroup (int $groupId, bool $activeOnly=true) | |
| attributeDefinitionsForProduct (int $productId, bool $activeOnly=true) | |
| attributesForProduct (int $productId) | |
| allAttributeDefinitions () | |
| attributeFilterDefinitions () | |
| saveAttributeDefinition (array $data) | |
| saveProductAttributeValue (int $productId, int $attributeId, string $value) | |
| saveProductAttributeValues (int $productId, array $values) | |
| products (bool $activeOnly=true) | |
| catalogCandidates (string $channelKey='shop') | |
| Liefert leichte, gebuendelt angereicherte Katalogzeilen. | |
| productsByIds (array $ids) | |
| Dekoriert nur die vom Report tatsaechlich sichtbaren Artikel. | |
| productBySku (string $sku, bool $activeOnly=true) | |
| productById (int $id) | |
| groupById (int $id) | |
| stockIssuesForItems (array $items) | |
| deleteProducts (array $ids) | |
| addChannelToProducts (array $ids, string $channelKey) | |
| removeChannelFromProducts (array $ids, string $channelKey) | |
| setProductGroupForProducts (array $ids, int $groupId) | |
| groupsForProduct (int $productId) | |
| channelsForProduct (int $productId) | |
| productChannelOverrides (int $productId) | |
| inheritedChannelsForProduct (int $productId) | |
| saveProductChannelOverrides (int $productId, array $activeChannelKeys) | |
| shippingGroupsForProduct (int $productId) | |
| channelGroupsForProduct (int $productId) | |
| groups () | |
| groupsByParent (int $parentId=0, bool $activeOnly=true) | |
| groupPath (int $groupId) | |
| moveProductGroupParent (int $groupId, int $parentId) | |
| channels () | |
| channelById (int $id) | |
| channelByKey (string $key) | |
| updateChannel (int $id, array $data) | |
| deleteChannel (int $id) | |
| testChannelConnection (int $id) | |
| productChannelMapping (int $productId, string $channelKey) | |
| saveProductChannelMapping (int $productId, string $channelKey, array $data) | |
| exportProductToChannel (int $productId, string $channelKey) | |
| exportProductsToChannel (array $ids, string $channelKey) | |
| shippingGroups () | |
| channelGroups () | |
| channelsForChannelGroup (int $channelGroupId) | |
| updateProductGroup (int $id, array $data) | |
| updateShippingGroup (int $id, array $data) | |
| updateChannelGroup (int $id, array $data, array $channelKeys) | |
| deleteChannelGroup (int $id) | |
| deleteProductGroup (int $id) | |
| deleteShippingGroup (int $id) | |
| imagesForProduct (int $productId, array $groups=array()) | |
| productImageCounts () | |
| allImages () | |
| updateImageMediaReference (int $imageId, int $mediaId, string $imagePath='') | |
| saveImage (int $productId, int $groupId, string $imagePath, string $title, string $alt, int $isPrimary=0, int $sorter=100) | |
| saveMediaImage (int $productId, int $groupId, int $mediaId, string $title='', string $alt='', int $isPrimary=0, int $sorter=100) | |
| primaryImageForGroup (int $groupId) | |
| removeProductImageAssociation (int $imageId, int $productId=0) | |
| createOrderFromItems (array $items, string $channelKey='shop', string $customerName='', string $customerEmail='', string $note='', string $paymentProvider='', string $paymentStatus='open', string $status='payment_pending', string $customerPhone='', string $shippingAddress='', string $legalSnapshot='', string $withdrawalSnapshot='') | |
| importChannelOrder (string $channelKey, array $payload) | |
| orderByNo (string $orderNo) | |
| orderById (int $id) | |
| ordersByUid (int $uid, int $limit=25) | |
| orders (array $filters=array(), int $limit=50, int $offset=0, string $sort='create_date', string $direction='DESC') | |
| orderCount (array $filters=array()) | |
| orderChannelKeys () | |
| updateOrderAdmin (int $id, array $data) | |
| updateOrderQuickAction (int $id, string $action) | |
| deleteOrder (int $id) | |
| orderByPaymentReference (string $provider, string $reference) | |
| orderItems (int $orderId) | |
| claimOrderPayment (int $orderId, string $provider, string $reference) | |
| Beansprucht einen Provider-Abschluss atomar. | |
| updateOrderPayment (int $orderId, string $provider, string $status, string $reference='', array $payload=array()) | |
| Aktualisiert den Zahlungsstatus idempotent und verhindert Downgrades terminaler Zahlungen sowie Referenz-/Providerwechsel. | |
| addOrderHistory (int $orderId, string $eventType, string $oldValue='', string $newValue='', string $message='') | |
| orderHistory (int $orderId) | |
| hasOrderHistoryEvent (int $orderId, string $eventType, string $newValue='') | |
| nextInvoiceNo () | |
| ensureOrderInvoicePdf (int $id) | |
| invoicePdfAbsolutePath (array $order) | |
| saveWithdrawal (array $data) | |
| updateWithdrawalAdmin (int $id, string $status, string $note='') | |
| withdrawalById (int $id) | |
| withdrawals (array $filters=array(), int $limit=50, int $offset=0) | |
| withdrawalCount (array $filters=array()) | |
| withdrawalsForOrder (int $orderId) | |
| dashboardStats () | |
Definition at line 4 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::addChannelToProducts | ( | array | $ids, |
| string | $channelKey ) |
Definition at line 1472 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::addOrderHistory | ( | int | $orderId, |
| string | $eventType, | ||
| string | $oldValue = '', | ||
| string | $newValue = '', | ||
| string | $message = '' ) |
Definition at line 3530 of file dbxShopRepository.class.php.
References if.
| dbx\dbxShop\dbxShopRepository::allAttributeDefinitions | ( | ) |
Definition at line 439 of file dbxShopRepository.class.php.
References $groups, groups(), and install().
Referenced by attributeFilterDefinitions().
| dbx\dbxShop\dbxShopRepository::allImages | ( | ) |
Definition at line 2597 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::attributeDefinitionsForGroup | ( | int | $groupId, |
| bool | $activeOnly = true ) |
Definition at line 385 of file dbxShopRepository.class.php.
References install().
Referenced by attributeDefinitionsForProduct().
| dbx\dbxShop\dbxShopRepository::attributeDefinitionsForProduct | ( | int | $productId, |
| bool | $activeOnly = true ) |
Definition at line 395 of file dbxShopRepository.class.php.
References $definition, attributeDefinitionsForGroup(), and groupsForProduct().
| dbx\dbxShop\dbxShopRepository::attributeFilterDefinitions | ( | ) |
Definition at line 467 of file dbxShopRepository.class.php.
References $rows, $value, allAttributeDefinitions(), and install().
| dbx\dbxShop\dbxShopRepository::attributesForProduct | ( | int | $productId | ) |
Definition at line 409 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::catalogCandidates | ( | string | $channelKey = 'shop' | ) |
Liefert leichte, gebuendelt angereicherte Katalogzeilen.
Suche und Filter benoetigen Gruppen, Attribute und den aktiven Channel, aber noch keine Bilder, Versand- oder Channel-Gruppen. Diese Daten werden erst fuer die sichtbare Report-Seite vollstaendig dekoriert.
Definition at line 1042 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::channelById | ( | int | $id | ) |
Definition at line 1954 of file dbxShopRepository.class.php.
References install().
Referenced by testChannelConnection(), and updateChannel().
| dbx\dbxShop\dbxShopRepository::channelByKey | ( | string | $key | ) |
Definition at line 1963 of file dbxShopRepository.class.php.
References install().
Referenced by importChannelOrder(), and saveProductChannelMapping().
| dbx\dbxShop\dbxShopRepository::channelGroups | ( | ) |
Definition at line 2287 of file dbxShopRepository.class.php.
References $groups, channelsForChannelGroup(), and install().
| dbx\dbxShop\dbxShopRepository::channelGroupsForProduct | ( | int | $productId | ) |
Definition at line 1812 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::channels | ( | ) |
Definition at line 1946 of file dbxShopRepository.class.php.
References $rows, and install().
Referenced by channelsForChannelGroup(), channelsForProduct(), inheritedChannelsForProduct(), and productChannelOverrides().
| dbx\dbxShop\dbxShopRepository::channelsForChannelGroup | ( | int | $channelGroupId | ) |
Definition at line 2298 of file dbxShopRepository.class.php.
References channels().
Referenced by channelGroups().
| dbx\dbxShop\dbxShopRepository::channelsForProduct | ( | int | $productId | ) |
Definition at line 1587 of file dbxShopRepository.class.php.
References channels().
| dbx\dbxShop\dbxShopRepository::claimOrderPayment | ( | int | $orderId, |
| string | $provider, | ||
| string | $reference ) |
Beansprucht einen Provider-Abschluss atomar.
Nur der Request, der created/open/failed oder einen abgelaufenen processing-Lease nach processing ueberfuehrt, darf den externen Capture-/Complete-Aufruf ausfuehren.
Definition at line 3400 of file dbxShopRepository.class.php.
References $db, $order, $reference, and install().
| dbx\dbxShop\dbxShopRepository::createOrderFromItems | ( | array | $items, |
| string | $channelKey = 'shop', | ||
| string | $customerName = '', | ||
| string | $customerEmail = '', | ||
| string | $note = '', | ||
| string | $paymentProvider = '', | ||
| string | $paymentStatus = 'open', | ||
| string | $status = 'payment_pending', | ||
| string | $customerPhone = '', | ||
| string | $shippingAddress = '', | ||
| string | $legalSnapshot = '', | ||
| string | $withdrawalSnapshot = '' ) |
Definition at line 2791 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::dashboardStats | ( | ) |
Definition at line 3840 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteChannel | ( | int | $id | ) |
Definition at line 2023 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteChannelGroup | ( | int | $id | ) |
Definition at line 2436 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteOrder | ( | int | $id | ) |
Definition at line 3354 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteProductGroup | ( | int | $id | ) |
Definition at line 2456 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteProducts | ( | array | $ids | ) |
Definition at line 1451 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::deleteShippingGroup | ( | int | $id | ) |
Definition at line 2472 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::ensureOrderInvoicePdf | ( | int | $id | ) |
Definition at line 3676 of file dbxShopRepository.class.php.
References $order, install(), and orderById().
| dbx\dbxShop\dbxShopRepository::exportProductsToChannel | ( | array | $ids, |
| string | $channelKey ) |
Definition at line 2247 of file dbxShopRepository.class.php.
References $result, exportProductToChannel(), and install().
| dbx\dbxShop\dbxShopRepository::exportProductToChannel | ( | int | $productId, |
| string | $channelKey ) |
Definition at line 2220 of file dbxShopRepository.class.php.
References install(), and productById().
Referenced by exportProductsToChannel().
| dbx\dbxShop\dbxShopRepository::groupById | ( | int | $id | ) |
Definition at line 1275 of file dbxShopRepository.class.php.
References install().
Referenced by groupPath(), groupsForProduct(), and moveProductGroupParent().
| dbx\dbxShop\dbxShopRepository::groupPath | ( | int | $groupId | ) |
Definition at line 1863 of file dbxShopRepository.class.php.
References groupById(), and install().
| dbx\dbxShop\dbxShopRepository::groups | ( | ) |
Definition at line 1845 of file dbxShopRepository.class.php.
References $rows, and install().
Referenced by allAttributeDefinitions(), and catalogCandidates().
| dbx\dbxShop\dbxShopRepository::groupsByParent | ( | int | $parentId = 0, |
| bool | $activeOnly = true ) |
Definition at line 1853 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::groupsForProduct | ( | int | $productId | ) |
Definition at line 1544 of file dbxShopRepository.class.php.
References groupById().
Referenced by attributeDefinitionsForProduct(), and productImageCounts().
| dbx\dbxShop\dbxShopRepository::hasOrderHistoryEvent | ( | int | $orderId, |
| string | $eventType, | ||
| string | $newValue = '' ) |
Definition at line 3557 of file dbxShopRepository.class.php.
References if.
| dbx\dbxShop\dbxShopRepository::imagesForProduct | ( | int | $productId, |
| array | $groups = array() ) |
Definition at line 2533 of file dbxShopRepository.class.php.
References $groups, $rows, and install().
Referenced by productImageCounts().
| dbx\dbxShop\dbxShopRepository::importChannelOrder | ( | string | $channelKey, |
| array | $payload ) |
Definition at line 2911 of file dbxShopRepository.class.php.
References channelByKey(), and install().
| dbx\dbxShop\dbxShopRepository::inheritedChannelsForProduct | ( | int | $productId | ) |
Definition at line 1672 of file dbxShopRepository.class.php.
References channels(), and install().
| dbx\dbxShop\dbxShopRepository::install | ( | bool | $maintenance = false | ) |
Fuehrt die explizite Schema- und Defaultpflege aus.
Alle Repository-Methoden duerfen install() weiterhin einheitlich aufrufen. Ohne $maintenance ist die Methode absichtlich schreibfrei. Nur die geschuetzte Admin-Installation ruft install(true) auf.
Definition at line 111 of file dbxShopRepository.class.php.
Referenced by addChannelToProducts(), allAttributeDefinitions(), allImages(), attributeDefinitionsForGroup(), attributeFilterDefinitions(), attributesForProduct(), catalogCandidates(), channelById(), channelByKey(), channelGroups(), channels(), claimOrderPayment(), createOrderFromItems(), dashboardStats(), deleteChannel(), deleteChannelGroup(), deleteOrder(), deleteProductGroup(), deleteProducts(), deleteShippingGroup(), ensureOrderInvoicePdf(), exportProductsToChannel(), exportProductToChannel(), groupById(), groupPath(), groups(), groupsByParent(), imagesForProduct(), importChannelOrder(), inheritedChannelsForProduct(), moveProductGroupParent(), needsDemoSeed(), orderById(), orderByNo(), orderByPaymentReference(), orderChannelKeys(), orderCount(), orders(), ordersByUid(), primaryImageForGroup(), productById(), productBySku(), productChannelMapping(), productChannelOverrides(), productImageCounts(), products(), productsByIds(), removeChannelFromProducts(), removeProductImageAssociation(), saveAttributeDefinition(), saveImage(), saveMediaImage(), saveProductAttributeValue(), saveProductChannelMapping(), saveProductChannelOverrides(), saveWithdrawal(), seedDemoProducts(), setProductGroupForProducts(), shippingGroups(), stockIssuesForItems(), testChannelConnection(), updateChannel(), updateChannelGroup(), updateImageMediaReference(), updateOrderAdmin(), updateOrderPayment(), updateOrderQuickAction(), updateProductGroup(), updateShippingGroup(), updateWithdrawalAdmin(), and withdrawals().
| dbx\dbxShop\dbxShopRepository::invoicePdfAbsolutePath | ( | array | $order | ) |
Definition at line 3729 of file dbxShopRepository.class.php.
References $order.
| dbx\dbxShop\dbxShopRepository::moveProductGroupParent | ( | int | $groupId, |
| int | $parentId ) |
Definition at line 1919 of file dbxShopRepository.class.php.
References groupById(), and install().
| dbx\dbxShop\dbxShopRepository::needsDemoSeed | ( | ) |
Schneller Seed-Check ohne Produktdekoration und N+1-Abfragen.
Definition at line 357 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::nextInvoiceNo | ( | ) |
Definition at line 3568 of file dbxShopRepository.class.php.
References $rows.
Referenced by updateOrderAdmin().
| dbx\dbxShop\dbxShopRepository::orderById | ( | int | $id | ) |
Definition at line 3103 of file dbxShopRepository.class.php.
References install(), orderHistory(), orderItems(), and withdrawalsForOrder().
Referenced by ensureOrderInvoicePdf(), updateOrderAdmin(), and updateOrderQuickAction().
| dbx\dbxShop\dbxShopRepository::orderByNo | ( | string | $orderNo | ) |
Definition at line 3093 of file dbxShopRepository.class.php.
References install(), orderHistory(), orderItems(), and withdrawalsForOrder().
Referenced by saveWithdrawal().
| dbx\dbxShop\dbxShopRepository::orderByPaymentReference | ( | string | $provider, |
| string | $reference ) |
Definition at line 3359 of file dbxShopRepository.class.php.
References $reference, install(), and orderItems().
| dbx\dbxShop\dbxShopRepository::orderChannelKeys | ( | ) |
Definition at line 3178 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::orderCount | ( | array | $filters = array() | ) |
Definition at line 3161 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::orderHistory | ( | int | $orderId | ) |
Definition at line 3552 of file dbxShopRepository.class.php.
References $rows.
Referenced by orderById(), and orderByNo().
| dbx\dbxShop\dbxShopRepository::orderItems | ( | int | $orderId | ) |
Definition at line 3367 of file dbxShopRepository.class.php.
References $rows.
Referenced by orderById(), orderByNo(), and orderByPaymentReference().
| dbx\dbxShop\dbxShopRepository::orders | ( | array | $filters = array(), |
| int | $limit = 50, | ||
| int | $offset = 0, | ||
| string | $sort = 'create_date', | ||
| string | $direction = 'DESC' ) |
Definition at line 3130 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::ordersByUid | ( | int | $uid, |
| int | $limit = 25 ) |
Definition at line 3113 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::primaryImageForGroup | ( | int | $groupId | ) |
Definition at line 2741 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::productById | ( | int | $id | ) |
Definition at line 1269 of file dbxShopRepository.class.php.
References install().
Referenced by exportProductToChannel(), productChannelMapping(), and saveProductChannelMapping().
| dbx\dbxShop\dbxShopRepository::productBySku | ( | string | $sku, |
| bool | $activeOnly = true ) |
Definition at line 1259 of file dbxShopRepository.class.php.
References install().
Referenced by stockIssuesForItems().
| dbx\dbxShop\dbxShopRepository::productChannelMapping | ( | int | $productId, |
| string | $channelKey ) |
Definition at line 2117 of file dbxShopRepository.class.php.
References install(), and productById().
| dbx\dbxShop\dbxShopRepository::productChannelOverrides | ( | int | $productId | ) |
Definition at line 1645 of file dbxShopRepository.class.php.
References channels(), and install().
| dbx\dbxShop\dbxShopRepository::productImageCounts | ( | ) |
Definition at line 2584 of file dbxShopRepository.class.php.
References $groups, groupsForProduct(), imagesForProduct(), and install().
| dbx\dbxShop\dbxShopRepository::products | ( | bool | $activeOnly = true | ) |
Definition at line 1027 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::productsByIds | ( | array | $ids | ) |
Dekoriert nur die vom Report tatsaechlich sichtbaren Artikel.
Definition at line 1233 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::removeChannelFromProducts | ( | array | $ids, |
| string | $channelKey ) |
Definition at line 1496 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::removeProductImageAssociation | ( | int | $imageId, |
| int | $productId = 0 ) |
Definition at line 2761 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::saveAttributeDefinition | ( | array | $data | ) |
Definition at line 521 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::saveImage | ( | int | $productId, |
| int | $groupId, | ||
| string | $imagePath, | ||
| string | $title, | ||
| string | $alt, | ||
| int | $isPrimary = 0, | ||
| int | $sorter = 100 ) |
Definition at line 2672 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::saveMediaImage | ( | int | $productId, |
| int | $groupId, | ||
| int | $mediaId, | ||
| string | $title = '', | ||
| string | $alt = '', | ||
| int | $isPrimary = 0, | ||
| int | $sorter = 100 ) |
Definition at line 2701 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::saveProductAttributeValue | ( | int | $productId, |
| int | $attributeId, | ||
| string | $value ) |
Definition at line 561 of file dbxShopRepository.class.php.
References $value, and install().
Referenced by saveProductAttributeValues().
| dbx\dbxShop\dbxShopRepository::saveProductAttributeValues | ( | int | $productId, |
| array | $values ) |
Definition at line 583 of file dbxShopRepository.class.php.
References $value, foreach, and saveProductAttributeValue().
| dbx\dbxShop\dbxShopRepository::saveProductChannelMapping | ( | int | $productId, |
| string | $channelKey, | ||
| array | $data ) |
Definition at line 2157 of file dbxShopRepository.class.php.
References channelByKey(), install(), and productById().
| dbx\dbxShop\dbxShopRepository::saveProductChannelOverrides | ( | int | $productId, |
| array | $activeChannelKeys ) |
Definition at line 1719 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::saveWithdrawal | ( | array | $data | ) |
Definition at line 3739 of file dbxShopRepository.class.php.
References $ok, $order, install(), and orderByNo().
| dbx\dbxShop\dbxShopRepository::seedDemoProducts | ( | ) |
Definition at line 349 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::setProductGroupForProducts | ( | array | $ids, |
| int | $groupId ) |
Definition at line 1520 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::shippingGroups | ( | ) |
Definition at line 2281 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::shippingGroupsForProduct | ( | int | $productId | ) |
Definition at line 1779 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::stockIssuesForItems | ( | array | $items | ) |
Definition at line 1297 of file dbxShopRepository.class.php.
References $items, install(), and productBySku().
| dbx\dbxShop\dbxShopRepository::testChannelConnection | ( | int | $id | ) |
Definition at line 2054 of file dbxShopRepository.class.php.
References channelById(), and install().
| dbx\dbxShop\dbxShopRepository::updateChannel | ( | int | $id, |
| array | $data ) |
Definition at line 1973 of file dbxShopRepository.class.php.
References $field, channelById(), and install().
| dbx\dbxShop\dbxShopRepository::updateChannelGroup | ( | int | $id, |
| array | $data, | ||
| array | $channelKeys ) |
Definition at line 2393 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::updateImageMediaReference | ( | int | $imageId, |
| int | $mediaId, | ||
| string | $imagePath = '' ) |
Definition at line 2651 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::updateOrderAdmin | ( | int | $id, |
| array | $data ) |
Definition at line 3192 of file dbxShopRepository.class.php.
References install(), nextInvoiceNo(), and orderById().
| dbx\dbxShop\dbxShopRepository::updateOrderPayment | ( | int | $orderId, |
| string | $provider, | ||
| string | $status, | ||
| string | $reference = '', | ||
| array | $payload = array() ) |
Aktualisiert den Zahlungsstatus idempotent und verhindert Downgrades terminaler Zahlungen sowie Referenz-/Providerwechsel.
Definition at line 3457 of file dbxShopRepository.class.php.
References $allowed, $db, $order, $reference, and install().
| dbx\dbxShop\dbxShopRepository::updateOrderQuickAction | ( | int | $id, |
| string | $action ) |
Definition at line 3279 of file dbxShopRepository.class.php.
References $order, install(), and orderById().
| dbx\dbxShop\dbxShopRepository::updateProductGroup | ( | int | $id, |
| array | $data ) |
Definition at line 2320 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::updateShippingGroup | ( | int | $id, |
| array | $data ) |
Definition at line 2366 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::updateWithdrawalAdmin | ( | int | $id, |
| string | $status, | ||
| string | $note = '' ) |
Definition at line 3763 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::withdrawalById | ( | int | $id | ) |
Definition at line 3797 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::withdrawalCount | ( | array | $filters = array() | ) |
Definition at line 3818 of file dbxShopRepository.class.php.
| dbx\dbxShop\dbxShopRepository::withdrawals | ( | array | $filters = array(), |
| int | $limit = 50, | ||
| int | $offset = 0 ) |
Definition at line 3802 of file dbxShopRepository.class.php.
References install().
| dbx\dbxShop\dbxShopRepository::withdrawalsForOrder | ( | int | $orderId | ) |
Definition at line 3832 of file dbxShopRepository.class.php.
References if.
Referenced by orderById(), and orderByNo().