diff --git a/docs/api/event_reference/shopping_list_events.md b/docs/api/event_reference/shopping_list_events.md new file mode 100644 index 0000000000..e54e841416 --- /dev/null +++ b/docs/api/event_reference/shopping_list_events.md @@ -0,0 +1,24 @@ +--- +description: Events that are triggered when working with shopping lists. +editions: lts-update commerce +page_type: reference +--- + +# Shopping List events + +| Event | Dispatched by | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------| +| [`BeforeCreateShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeCreateShoppingListEvent.html) | [`ShoppingListService::createShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_createShoppingList) | Dispatched before a shopping list is created. Allows to modify or prevent creation. | +| [`CreateShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-CreateShoppingListEvent.html) | [`ShoppingListService::createShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_createShoppingList) | Dispatched after a shopping list is created. | +| [`BeforeUpdateShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeUpdateShoppingListEvent.html) | [`ShoppingListService::updateShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_updateShoppingList) | Dispatched before a shopping list is updated. Allows to modify or prevent update. | +| [`UpdateShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-UpdateShoppingListEvent.html) | [`ShoppingListService::updateShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_updateShoppingList) | Dispatched after a shopping list is updated. | +| [`BeforeDeleteShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeDeleteShoppingListEvent.html) | [`ShoppingListService::deleteShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_deleteShoppingList) | Dispatched before a shopping list is deleted. Allows to prevent deletion. | +| [`DeleteShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-DeleteShoppingListEvent.html) | [`ShoppingListService::deleteShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_deleteShoppingList) | Dispatched after a shopping list is deleted. | +| [`BeforeClearShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeClearShoppingListEvent.html) | [`ShoppingListService::clearShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_clearShoppingList) | Dispatched before a shopping list is cleared. Allows to modify or prevent clearing. | +| [`ClearShoppingListEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-ClearShoppingListEvent.html) | [`ShoppingListService::clearShoppingList`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_clearShoppingList) | Dispatched after a shopping list is cleared. | +| [`BeforeAddEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeAddEntriesEvent.html) | [`ShoppingListService::addEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_addEntries) | Dispatched before entries are added to a shopping list. Allows to modify or prevent addition. | +| [`AddEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-AddEntriesEvent.html) | [`ShoppingListService::addEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_addEntries) | Dispatched after entries are added to a shopping list. | +| [`BeforeRemoveEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeRemoveEntriesEvent.html) | [`ShoppingListService::removeEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_removeEntries) | Dispatched before entries are removed from a shopping list. Allows to modify or prevent removal. | +| [`RemoveEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-RemoveEntriesEvent.html) | [`ShoppingListService::removeEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_removeEntries) | Dispatched after entries are removed from a shopping list. | +| [`BeforeMoveEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeMoveEntriesEvent.html) | [`ShoppingListService::moveEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_moveEntries) | Dispatched before entries are moved to another shopping list. Allows to modify or prevent moving. | +| [`MoveEntriesEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-MoveEntriesEvent.html) | [`ShoppingListService::moveEntries`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html#method_moveEntries) | Dispatched after entries are moved to another shopping list. | diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-AddEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-AddEntriesEvent.html new file mode 100644 index 0000000000..4d93b9a055 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-AddEntriesEvent.html @@ -0,0 +1,46322 @@ + + + + + AddEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ AddEntriesEvent

+ +
+ AddEntriesEvent.php + : + 15 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ AddEntriesEvent.php + : + 20 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, array<string|int, EntryAddStruct$entryAddStructs, ShoppingListInterface $shoppingListResult)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entryAddStructs + + array<string|int, EntryAddStruct> + + - + + - +
+ $shoppingListResult + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetEntryAddStructs() + +

+
+ AddEntriesEvent.php + : + 34 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntryAddStructs() : array<string|int, EntryAddStruct>
+
+
+
+
+
+

Return values

+

array<string|int, EntryAddStruct>

+ + +
+

+ publicgetShoppingList() + +

+
+ AddEntriesEvent.php + : + 26 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ AddEntriesEvent.php + : + 39 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeAddEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeAddEntriesEvent.html new file mode 100644 index 0000000000..9cc3ce49fb --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeAddEntriesEvent.html @@ -0,0 +1,46431 @@ + + + + + BeforeAddEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeAddEntriesEvent

+ +
+ BeforeAddEntriesEvent.php + : + 16 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeAddEntriesEvent.php + : + 21 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, array<string|int, EntryAddStruct$entryAddStructs[, ShoppingListInterface|null $shoppingListResult = null ])
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entryAddStructs + + array<string|int, EntryAddStruct> + + - + + - +
+ $shoppingListResult + + ShoppingListInterface|null + + null + + - +
+ + +
+

+ publicgetEntryAddStructs() + +

+
+ BeforeAddEntriesEvent.php + : + 35 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntryAddStructs() : array<string|int, EntryAddStruct>
+
+
+
+
+
+

Return values

+

array<string|int, EntryAddStruct>

+ + +
+

+ publicgetShoppingList() + +

+
+ BeforeAddEntriesEvent.php + : + 27 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ BeforeAddEntriesEvent.php + : + 40 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publichasShoppingListResult() + +

+
+ BeforeAddEntriesEvent.php + : + 56 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public hasShoppingListResult() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicsetShoppingListResult() + +

+
+ BeforeAddEntriesEvent.php + : + 51 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingListResult + + ShoppingListInterface|null + + - + + - +
+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeClearShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeClearShoppingListEvent.html new file mode 100644 index 0000000000..f09e65c5b3 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeClearShoppingListEvent.html @@ -0,0 +1,46375 @@ + + + + + BeforeClearShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeClearShoppingListEvent

+ +
+ BeforeClearShoppingListEvent.php + : + 15 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeClearShoppingListEvent.php + : + 17 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList[, ShoppingListInterface|null $shoppingListResult = null ])
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $shoppingListResult + + ShoppingListInterface|null + + null + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ BeforeClearShoppingListEvent.php + : + 22 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ BeforeClearShoppingListEvent.php + : + 27 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publichasShoppingListResult() + +

+
+ BeforeClearShoppingListEvent.php + : + 43 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public hasShoppingListResult() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicsetShoppingListResult() + +

+
+ BeforeClearShoppingListEvent.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingListResult + + ShoppingListInterface|null + + - + + - +
+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeCreateShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeCreateShoppingListEvent.html new file mode 100644 index 0000000000..67ba3924ed --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeCreateShoppingListEvent.html @@ -0,0 +1,46375 @@ + + + + + BeforeCreateShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeCreateShoppingListEvent

+ +
+ BeforeCreateShoppingListEvent.php + : + 16 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeCreateShoppingListEvent.php + : + 18 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListCreateStruct $createStruct[, ShoppingListInterface|null $shoppingListResult = null ])
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $createStruct + + ShoppingListCreateStruct + + - + + - +
+ $shoppingListResult + + ShoppingListInterface|null + + null + + - +
+ + +
+

+ publicgetCreateStruct() + +

+
+ BeforeCreateShoppingListEvent.php + : + 23 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getCreateStruct() : ShoppingListCreateStruct
+
+
+
+
+
+

Return values

+

ShoppingListCreateStruct

+ + +
+

+ publicgetShoppingListResult() + +

+
+ BeforeCreateShoppingListEvent.php + : + 28 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publichasShoppingListResult() + +

+
+ BeforeCreateShoppingListEvent.php + : + 44 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public hasShoppingListResult() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicsetShoppingListResult() + +

+
+ BeforeCreateShoppingListEvent.php + : + 39 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingListResult + + ShoppingListInterface|null + + - + + - +
+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeDeleteShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeDeleteShoppingListEvent.html new file mode 100644 index 0000000000..36d8472f5f --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeDeleteShoppingListEvent.html @@ -0,0 +1,46210 @@ + + + + + BeforeDeleteShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeDeleteShoppingListEvent

+ +
+ BeforeDeleteShoppingListEvent.php + : + 14 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeDeleteShoppingListEvent.php + : + 16 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ BeforeDeleteShoppingListEvent.php + : + 18 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeMoveEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeMoveEntriesEvent.html new file mode 100644 index 0000000000..69977b6b39 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeMoveEntriesEvent.html @@ -0,0 +1,46266 @@ + + + + + BeforeMoveEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeMoveEntriesEvent

+ +
+ BeforeMoveEntriesEvent.php + : + 15 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeMoveEntriesEvent.php + : + 20 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $targetShoppingList, array<string|int, ShoppingListEntryInterface$entries)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $targetShoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+ + +
+

+ publicgetEntries() + +

+
+ BeforeMoveEntriesEvent.php + : + 33 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntries() : array<string|int, ShoppingListEntryInterface>
+
+
+
+
+
+

Return values

+

array<string|int, ShoppingListEntryInterface>

+ + +
+

+ publicgetTargetShoppingList() + +

+
+ BeforeMoveEntriesEvent.php + : + 25 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getTargetShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ +
+
+ +
+
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeRemoveEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeRemoveEntriesEvent.html new file mode 100644 index 0000000000..998ae95dfd --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeRemoveEntriesEvent.html @@ -0,0 +1,46431 @@ + + + + + BeforeRemoveEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeRemoveEntriesEvent

+ +
+ BeforeRemoveEntriesEvent.php + : + 16 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeRemoveEntriesEvent.php + : + 21 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, array<string|int, ShoppingListEntryInterface$entries[, ShoppingListInterface|null $shoppingListResult = null ])
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+ $shoppingListResult + + ShoppingListInterface|null + + null + + - +
+ + +
+

+ publicgetEntries() + +

+
+ BeforeRemoveEntriesEvent.php + : + 35 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntries() : array<string|int, ShoppingListEntryInterface>
+
+
+
+
+
+

Return values

+

array<string|int, ShoppingListEntryInterface>

+ + +
+

+ publicgetShoppingList() + +

+
+ BeforeRemoveEntriesEvent.php + : + 27 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ BeforeRemoveEntriesEvent.php + : + 40 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publichasShoppingListResult() + +

+
+ BeforeRemoveEntriesEvent.php + : + 56 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public hasShoppingListResult() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicsetShoppingListResult() + +

+
+ BeforeRemoveEntriesEvent.php + : + 51 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingListResult + + ShoppingListInterface|null + + - + + - +
+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeUpdateShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeUpdateShoppingListEvent.html new file mode 100644 index 0000000000..43aef41d53 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-BeforeUpdateShoppingListEvent.html @@ -0,0 +1,46431 @@ + + + + + BeforeUpdateShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ BeforeUpdateShoppingListEvent

+ +
+ BeforeUpdateShoppingListEvent.php + : + 16 + +
+
Final
+ +
+ Extends BeforeEvent +
+ + +
+

Event emitted before action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 18 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, ShoppingListUpdateStruct $updateStruct[, ShoppingListInterface|null $shoppingListResult = null ])
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $updateStruct + + ShoppingListUpdateStruct + + - + + - +
+ $shoppingListResult + + ShoppingListInterface|null + + null + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 24 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 34 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetUpdateStruct() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 29 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getUpdateStruct() : ShoppingListUpdateStruct
+
+
+
+
+
+

Return values

+

ShoppingListUpdateStruct

+ + +
+

+ publichasShoppingListResult() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 50 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public hasShoppingListResult() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicsetShoppingListResult() + +

+
+ BeforeUpdateShoppingListEvent.php + : + 45 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public setShoppingListResult(ShoppingListInterface|null $shoppingListResult) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingListResult + + ShoppingListInterface|null + + - + + - +
+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-ClearShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-ClearShoppingListEvent.html new file mode 100644 index 0000000000..15dd229fea --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-ClearShoppingListEvent.html @@ -0,0 +1,46266 @@ + + + + + ClearShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ ClearShoppingListEvent

+ +
+ ClearShoppingListEvent.php + : + 14 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ ClearShoppingListEvent.php + : + 16 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, ShoppingListInterface $shoppingListResult)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $shoppingListResult + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ ClearShoppingListEvent.php + : + 21 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ ClearShoppingListEvent.php + : + 26 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ +
+ +
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-CreateShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-CreateShoppingListEvent.html new file mode 100644 index 0000000000..a0a1d1b680 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-CreateShoppingListEvent.html @@ -0,0 +1,46266 @@ + + + + + CreateShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ CreateShoppingListEvent

+ +
+ CreateShoppingListEvent.php + : + 15 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ CreateShoppingListEvent.php + : + 17 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListCreateStruct $createStruct, ShoppingListInterface $shoppingListResult)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $createStruct + + ShoppingListCreateStruct + + - + + - +
+ $shoppingListResult + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetCreateStruct() + +

+
+ CreateShoppingListEvent.php + : + 22 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getCreateStruct() : ShoppingListCreateStruct
+
+
+
+
+
+

Return values

+

ShoppingListCreateStruct

+ + +
+

+ publicgetShoppingListResult() + +

+
+ CreateShoppingListEvent.php + : + 27 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ +
+ +
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-DeleteShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-DeleteShoppingListEvent.html new file mode 100644 index 0000000000..04610102a2 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-DeleteShoppingListEvent.html @@ -0,0 +1,46210 @@ + + + + + DeleteShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ DeleteShoppingListEvent

+ +
+ DeleteShoppingListEvent.php + : + 14 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ DeleteShoppingListEvent.php + : + 16 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ DeleteShoppingListEvent.php + : + 18 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ +
+
+
+ +
+
+
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-MoveEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-MoveEntriesEvent.html new file mode 100644 index 0000000000..6fd8a94707 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-MoveEntriesEvent.html @@ -0,0 +1,46266 @@ + + + + + MoveEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ MoveEntriesEvent

+ +
+ MoveEntriesEvent.php + : + 15 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ MoveEntriesEvent.php + : + 20 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $targetShoppingList, array<string|int, ShoppingListEntryInterface$entries)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $targetShoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+ + +
+

+ publicgetEntries() + +

+
+ MoveEntriesEvent.php + : + 33 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntries() : array<string|int, ShoppingListEntryInterface>
+
+
+
+
+
+

Return values

+

array<string|int, ShoppingListEntryInterface>

+ + +
+

+ publicgetTargetShoppingList() + +

+
+ MoveEntriesEvent.php + : + 25 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getTargetShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-RemoveEntriesEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-RemoveEntriesEvent.html new file mode 100644 index 0000000000..71a21b01f8 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-RemoveEntriesEvent.html @@ -0,0 +1,46322 @@ + + + + + RemoveEntriesEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ RemoveEntriesEvent

+ +
+ RemoveEntriesEvent.php + : + 15 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ RemoveEntriesEvent.php + : + 20 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, array<string|int, ShoppingListEntryInterface$entries, ShoppingListInterface $shoppingListResult)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+ $shoppingListResult + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetEntries() + +

+
+ RemoveEntriesEvent.php + : + 34 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntries() : array<string|int, ShoppingListEntryInterface>
+
+
+
+
+
+

Return values

+

array<string|int, ShoppingListEntryInterface>

+ + +
+

+ publicgetShoppingList() + +

+
+ RemoveEntriesEvent.php + : + 26 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ RemoveEntriesEvent.php + : + 39 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-UpdateShoppingListEvent.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-UpdateShoppingListEvent.html new file mode 100644 index 0000000000..74b21743b0 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-Event-UpdateShoppingListEvent.html @@ -0,0 +1,46322 @@ + + + + + UpdateShoppingListEvent | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ UpdateShoppingListEvent

+ +
+ UpdateShoppingListEvent.php + : + 15 + +
+
Final
+ +
+ Extends AfterEvent +
+ + +
+

Event emitted after action execution.

+ + + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ public__construct() + +

+
+ UpdateShoppingListEvent.php + : + 17 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public __construct(ShoppingListInterface $shoppingList, ShoppingListUpdateStruct $updateStruct, ShoppingListInterface $shoppingListResult)
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $updateStruct + + ShoppingListUpdateStruct + + - + + - +
+ $shoppingListResult + + ShoppingListInterface + + - + + - +
+ + +
+

+ publicgetShoppingList() + +

+
+ UpdateShoppingListEvent.php + : + 23 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetShoppingListResult() + +

+
+ UpdateShoppingListEvent.php + : + 33 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingListResult() : ShoppingListInterface
+
+
+
+
+
+

Return values

+

ShoppingListInterface

+ + +
+

+ publicgetUpdateStruct() + +

+
+ UpdateShoppingListEvent.php + : + 28 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getUpdateStruct() : ShoppingListUpdateStruct
+
+
+
+
+
+

Return values

+

ShoppingListUpdateStruct

+ + +
+

+ publicisPropagationStopped() + +

+
+ Event.php + : + 38 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public isPropagationStopped() : bool
+
+
+
+
+
+

Return values

+

bool

+ + +
+

+ publicstopPropagation() + +

+
+ Event.php + : + 50 + +
+
+

Stops the propagation of the event to further event listeners.

+ +
+ + + + + + + +
+
+
+
+
+
+
public stopPropagation() : void
+
+
+
+
+
+
+

If multiple event listeners are connected to the same event, no +further event listener will be triggered once any trigger calls +stopPropagation().

+ +
+ + +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html new file mode 100644 index 0000000000..3c8d74b017 --- /dev/null +++ b/docs/api/php_api/php_api_reference/classes/Ibexa-Contracts-ShoppingList-ShoppingListServiceInterface.html @@ -0,0 +1,47008 @@ + + + + + ShoppingListServiceInterface | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+
+
+ + + +
+
+ + +
+

+ ShoppingListServiceInterface

+ +
+ ShoppingListServiceInterface.php + : + 22 + +
+
Interface
+ +
+ + + + + + + + + + + + + + + +

+ Methods +

+ +
+

+ publicaddEntries() + +

+
+ ShoppingListServiceInterface.php + : + 70 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public addEntries(ShoppingListInterface $shoppingList, array<string|int, EntryAddStruct$entryAddStructs) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entryAddStructs + + array<string|int, EntryAddStruct> + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ InvalidArgumentException + +
+
+ Throws +
+
+ UnauthorizedException + +
+
+ +
+

+ publicclearShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 62 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public clearShoppingList(ShoppingListInterface $shoppingList) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ +
+

+ publiccreateShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 42 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public createShoppingList(ShoppingListCreateStruct $createStruct) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $createStruct + + ShoppingListCreateStruct + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ Throws +
+
+ InvalidArgumentException + +
+
+ +
+

+ publicdeleteShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 57 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public deleteShoppingList(ShoppingListInterface $shoppingList) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ Throws +
+
+ InvalidArgumentException +
+

if trying to delete the default shopping list

+ +
+ +
+
+ +
+

+ publicfindShoppingLists() + +

+
+ ShoppingListServiceInterface.php + : + 36 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public findShoppingLists([ShoppingListQuery|null $query = null ]) : ShoppingListCollectionInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $query + + ShoppingListQuery|null + + null + + - +
+

Return values

+

ShoppingListCollectionInterface

+ + +
+

+ publicgetEntry() + +

+
+ ShoppingListServiceInterface.php + : + 34 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getEntry(string $identifier) : ShoppingListEntryInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $identifier + + string + + - + + - +
+

Return values

+

ShoppingListEntryInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ Throws +
+
+ NotFoundException + +
+
+ +
+

+ publicgetOrCreateDefaultShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 106 + +
+
+

Returns the default shopping list for the current user.

+ +
+ + + + + + + +
+
+
+
+
+
+
public getOrCreateDefaultShoppingList() : ShoppingListInterface
+
+
+
+
+
+
+

If no default list exists, it will be created automatically.

+ +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ +
+

+ publicgetShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 28 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public getShoppingList(string $identifier) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $identifier + + string + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ Throws +
+
+ NotFoundException + +
+
+ +
+

+ publicmoveEntries() + +

+
+ ShoppingListServiceInterface.php + : + 93 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public moveEntries(ShoppingListInterface $targetShoppingList, array<string|int, ShoppingListEntryInterface$entries[, bool $copy = false ]) : void
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $targetShoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+ $copy + + bool + + false + +
+

If true, copies entries without deleting from source. If false (default), moves entries (deletes from source).

+ +
+ +
+ +
+ Tags + + +
+
+
+ Throws +
+
+ InvalidArgumentException + +
+
+ Throws +
+
+ UnauthorizedException + +
+
+ +
+

+ publicremoveEntries() + +

+
+ ShoppingListServiceInterface.php + : + 81 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public removeEntries(ShoppingListInterface $shoppingList, array<string|int, ShoppingListEntryInterface$entries) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $entries + + array<string|int, ShoppingListEntryInterface> + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ InvalidArgumentException + +
+
+ Throws +
+
+ UnauthorizedException + +
+
+ +
+

+ publicupdateShoppingList() + +

+
+ ShoppingListServiceInterface.php + : + 48 + +
+
+ +
+ + + + + + + +
+
+
+
+
+
+
public updateShoppingList(ShoppingListInterface $shoppingList, ShoppingListUpdateStruct $updateStruct) : ShoppingListInterface
+
+
+
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDefault valueDescription
+ $shoppingList + + ShoppingListInterface + + - + + - +
+ $updateStruct + + ShoppingListUpdateStruct + + - + + - +
+

Return values

+

ShoppingListInterface

+ +
+ Tags + + +
+
+
+ Throws +
+
+ UnauthorizedException + +
+
+ Throws +
+
+ InvalidArgumentException + +
+
+ +
+
+
+ + +
+
+
+ + + + + + + + + + + diff --git a/docs/api/php_api/php_api_reference/namespaces/ibexa-contracts-shoppinglist.html b/docs/api/php_api/php_api_reference/namespaces/ibexa-contracts-shoppinglist.html new file mode 100644 index 0000000000..3f3f2a2040 --- /dev/null +++ b/docs/api/php_api/php_api_reference/namespaces/ibexa-contracts-shoppinglist.html @@ -0,0 +1,46186 @@ + + + + + ShoppingList | PHP API Reference (Ibexa Documentation) + + + + + + + + + + + + + + +
Copied!
+ + + +
+ +
+ +
+
+
+ + +
+ +
+ +
+
+
+ +
+
+
+
+
+
+ + + + + + + + + + + diff --git a/docs/api/rest_api/rest_api_reference/rest_api_reference.html b/docs/api/rest_api/rest_api_reference/rest_api_reference.html index a8152b78d0..c36428709b 100644 --- a/docs/api/rest_api/rest_api_reference/rest_api_reference.html +++ b/docs/api/rest_api/rest_api_reference/rest_api_reference.html @@ -445,7 +445,7 @@ -

Error - a discount of the given ID is not found.

Response samples

Content type
application/vnd.ibexa.api.Discount+json
{
  • "Discount": {
    }
}
+
/api/ibexa/v2/discounts/{id}

Response samples

Content type
application/vnd.ibexa.api.Discount+json
{
  • "Discount": {
    }
}

Shopping Lists

List shopping lists

Returns a list of shopping lists owned by the current user.

+
query Parameters
limit
integer
Default: 25

The maximum number of shopping lists to return. Default is 25.

+
offset
integer
Default: 0

The offset for pagination. Default is 0.

+
name
string

Filter shopping lists by name (partial match).

+
createdFrom
string <date-time>

Filter shopping lists created on or after this date (ISO 8601 format).

+
createdTo
string <date-time>

Filter shopping lists created on or before this date (ISO 8601 format).

+
updatedFrom
string <date-time>

Filter shopping lists updated on or after this date (ISO 8601 format).

+
updatedTo
string <date-time>

Filter shopping lists updated on or before this date (ISO 8601 format).

+
isDefault
string
Enum: "true" "false"

Filter shopping lists by default flag. Use "true" for default lists only, "false" for non-default lists only.

+
sort
string
Enum: "name" "is_default" "created_at" "updated_at"

Sort shopping lists by field. Available fields: name, is_default, created_at, updated_at.

+
order
string
Default: "asc"
Enum: "asc" "desc"

Sort direction. Default is "asc".

+
header Parameters
Accept
required
string

If set, the shopping list collection is returned in XML or JSON format.

+

Responses

Response samples

Content type
{
  • "ShoppingListCollection": {
    }
}

Create shopping list

Creates a new shopping list for the current user. The list will be owned by the authenticated user.

+
header Parameters
Accept
required
string

If set, the new shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The shopping list input schema encoded in XML or JSON format.

+
Request Body schema:
optional

The new ShoppingListCreateController resource

+
required
object (ShoppingListCreate)

Creates a new shopping list.

+

Responses

Request samples

Content type
{
  • "ShoppingListCreate": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Add entries to default shopping list

Adds one or more product entries to the default shopping list. If the default shopping list does not exist, it will be created automatically.

+
header Parameters
Accept
required
string

If set, the updated shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The entries input schema encoded in XML or JSON format.

+
Request Body schema:
optional

The new ShoppingListAddToDefaultEntriesController resource

+
required
object (ShoppingListEntriesAdd)

Adds one or more product entries to an existing shopping list.

+

Responses

Request samples

Content type
{
  • "ShoppingListEntriesAdd": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Get shopping list

Gets a shopping list by its identifier.

+
path Parameters
identifier
required
string

The shopping list identifier (UUID)

+
header Parameters
Accept
required
string

The shopping list is returned in XML or JSON format.

+

Responses

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Delete shopping list

Deletes a shopping list by its identifier. The default shopping list cannot be deleted.

+
path Parameters
identifier
required
string

The shopping list identifier (UUID).

+

Responses

Update shopping list

Updates an existing shopping list. Only the name can be updated.

+
path Parameters
identifier
required
string

The shopping list identifier (UUID).

+
header Parameters
Accept
string

If set, the updated shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The shopping list update schema encoded in XML or JSON format.

+
Request Body schema:
optional

The updated ShoppingListUpdateController resource

+
required
object (ShoppingListUpdate)

Updates an existing shopping list.

+

Responses

Request samples

Content type
{
  • "ShoppingListUpdate": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Clear shopping list

Removes all entries from a shopping list while keeping the list itself.

+
path Parameters
identifier
required
string

The unique identifier (UUID) of the shopping list.

+
header Parameters
Accept
required
string

If set, the updated shopping list is returned in XML or JSON format.

+

Responses

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Add entries to shopping list

Adds one or more product entries to an existing shopping list.

+
path Parameters
identifier
required
string

The unique identifier (UUID) of the shopping list.

+
header Parameters
Accept
required
string

If set, the updated shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The entries input schema encoded in XML or JSON format.

+
Request Body schema:
optional

The new ShoppingListAddEntriesController resource

+
required
object (ShoppingListEntriesAdd)

Adds one or more product entries to an existing shopping list.

+

Responses

Request samples

Content type
{
  • "ShoppingListEntriesAdd": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Remove entries from shopping list

Removes one or more product entries from an existing shopping list by their identifiers.

+
path Parameters
identifier
required
string

The unique identifier (UUID) of the shopping list.

+
header Parameters
Accept
required
string

If set, the updated shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The entries remove input schema encoded in XML or JSON format.

+
Request Body schema:
optional

The new ShoppingListRemoveEntriesController resource

+
required
object (ShoppingListEntriesRemove)

Removes one or more entries from a shopping list by their identifiers.

+

Responses

Request samples

Content type
{
  • "ShoppingListEntriesRemove": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}

Move or copy entries to shopping list

Moves or copies one or more product entries from their source shopping lists to the target shopping list. Use the "copy" parameter to control whether entries are copied (kept in source) or moved (removed from source).

+
path Parameters
targetIdentifier
required
string

The unique identifier (UUID) of the target shopping list where entries will be moved.

+
header Parameters
Accept
required
string

If set, the updated shopping list is returned in XML or JSON format.

+
Content-Type
required
string

The entries move input schema encoded in XML or JSON format.

+
Request Body schema:
optional

The new ShoppingListMoveEntriesController resource

+
required
object (ShoppingListEntriesMove)

Moves or copies one or more entries from their source shopping lists to a target shopping list.

+

Responses

Request samples

Content type
{
  • "ShoppingListEntriesMove": {
    }
}

Response samples

Content type
{
  • "ShoppingList": {
    }
}