|
@@ -247,7 +247,7 @@ discard block |
|
|
block discarded – undo |
|
247
|
247
|
/** |
|
248
|
248
|
* Initializes a new customer manager object using the given context object. |
|
249
|
249
|
* |
|
250
|
|
- * @param \Aimeos\MShop\Context\Iface $context Context object with required objects |
|
|
250
|
+ * @param \Aimeos\MShop\Context\Item\Iface $context Context object with required objects |
|
251
|
251
|
*/ |
|
252
|
252
|
public function __construct( \Aimeos\MShop\Context\Item\Iface $context ) |
|
253
|
253
|
{ |
|
@@ -307,7 +307,7 @@ discard block |
|
|
block discarded – undo |
|
307
|
307
|
* @param string|null Type the item should be created with |
|
308
|
308
|
* @param string|null Domain of the type the item should be created with |
|
309
|
309
|
* @param array $values Values the item should be initialized with |
|
310
|
|
- * @return \Aimeos\MShop\Common\Item\Site\Iface New site item object |
|
|
310
|
+ * @return \Aimeos\MShop\Customer\Item\Iface New site item object |
|
311
|
311
|
*/ |
|
312
|
312
|
public function createItem( $type = null, $domain = null, array $values = [] ) |
|
313
|
313
|
{ |
|
@@ -335,7 +335,7 @@ discard block |
|
|
block discarded – undo |
|
335
|
335
|
* |
|
336
|
336
|
* @param \Aimeos\MShop\Customer\Item\Iface $item Customer item object |
|
337
|
337
|
* @param boolean $fetch True if the new ID should be returned in the item |
|
338
|
|
- * @return \Aimeos\MShop\Common\Item\Iface $item Updated item including the generated ID |
|
|
338
|
+ * @return \Aimeos\MShop\Common\Item\ListRef\Iface $item Updated item including the generated ID |
|
339
|
339
|
*/ |
|
340
|
340
|
public function saveItem( \Aimeos\MShop\Common\Item\Iface $item, $fetch = true ) |
|
341
|
341
|
{ |
|
@@ -527,6 +527,7 @@ discard block |
|
|
block discarded – undo |
|
527
|
527
|
* |
|
528
|
528
|
* @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
|
529
|
529
|
* @param integer &$total Number of items that are available in total |
|
|
530
|
+ * @param integer $total |
|
530
|
531
|
* @return array List of items implementing \Aimeos\MShop\Customer\Item\Iface |
|
531
|
532
|
* @throws \Aimeos\MShop\Customer\Exception If creating items failed |
|
532
|
533
|
*/ |
|
@@ -576,7 +577,7 @@ discard block |
|
|
block discarded – undo |
|
576
|
577
|
* |
|
577
|
578
|
* @param string $manager Name of the sub manager type in lower case |
|
578
|
579
|
* @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
|
579
|
|
- * @return mixed Manager for different extensions, e.g stock, tags, locations, etc. |
|
|
580
|
+ * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g stock, tags, locations, etc. |
|
580
|
581
|
*/ |
|
581
|
582
|
public function getSubManager( $manager, $name = null ) |
|
582
|
583
|
{ |