@@ -289,8 +289,7 @@ |
||
| 289 | 289 | * @see mshop/attribute/manager/standard/count/ansi |
| 290 | 290 | */ |
| 291 | 291 | $path = 'mshop/attribute/manager/standard/insert'; |
| 292 | - } |
|
| 293 | - else |
|
| 292 | + } else |
|
| 294 | 293 | { |
| 295 | 294 | /** mshop/attribute/manager/standard/update/mysql |
| 296 | 295 | * Updates an existing attribute record in the database |
@@ -320,8 +320,7 @@ |
||
| 320 | 320 | * @see mshop/order/manager/base/service/standard/count/ansi |
| 321 | 321 | */ |
| 322 | 322 | $path = 'mshop/order/manager/base/service/standard/insert'; |
| 323 | - } |
|
| 324 | - else |
|
| 323 | + } else |
|
| 325 | 324 | { |
| 326 | 325 | /** mshop/order/manager/base/service/standard/update/mysql |
| 327 | 326 | * Updates an existing order record in the database |
@@ -239,6 +239,8 @@ |
||
| 239 | 239 | * |
| 240 | 240 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria |
| 241 | 241 | * @param string $key Search key to aggregate items for |
| 242 | + * @param string $value |
|
| 243 | + * @param string $type |
|
| 242 | 244 | * @return array List of the search keys as key and the number of counted items as value |
| 243 | 245 | * @todo 2018.01 Add optional parameters to interface |
| 244 | 246 | */ |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | * @see mshop/order/manager/base/service/standard/aggregate/ansi |
| 265 | 265 | */ |
| 266 | 266 | |
| 267 | - $cfgkey = 'mshop/order/manager/base/service/standard/aggregate' . $type; |
|
| 267 | + $cfgkey = 'mshop/order/manager/base/service/standard/aggregate'.$type; |
|
| 268 | 268 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.service' ), $value ); |
| 269 | 269 | } |
| 270 | 270 | |
@@ -890,7 +890,7 @@ discard block |
||
| 890 | 890 | * @see mshop/order/manager/base/service/decorators/global |
| 891 | 891 | */ |
| 892 | 892 | |
| 893 | - return $this->getSubManagerBase( 'order', 'base/service/' . $manager, $name ); |
|
| 893 | + return $this->getSubManagerBase( 'order', 'base/service/'.$manager, $name ); |
|
| 894 | 894 | } |
| 895 | 895 | |
| 896 | 896 | |
@@ -289,8 +289,7 @@ |
||
| 289 | 289 | * @see mshop/order/manager/base/service/attribute/standard/count/ansi |
| 290 | 290 | */ |
| 291 | 291 | $path = 'mshop/order/manager/base/service/attribute/standard/insert'; |
| 292 | - } |
|
| 293 | - else |
|
| 292 | + } else |
|
| 294 | 293 | { |
| 295 | 294 | /** mshop/order/manager/base/service/attribute/standard/update/mysql |
| 296 | 295 | * Updates an existing order record in the database |
@@ -493,6 +493,7 @@ |
||
| 493 | 493 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
| 494 | 494 | * @param string[] $ref List of domains to fetch list items and referenced items for |
| 495 | 495 | * @param integer|null &$total Number of items that are available in total |
| 496 | + * @param integer $total |
|
| 496 | 497 | * @return array List of items implementing \Aimeos\MShop\Order\Item\Base\Service\Attribute\Iface |
| 497 | 498 | */ |
| 498 | 499 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * @see mshop/order/manager/base/service/attribute/standard/search/ansi |
| 183 | 183 | * @see mshop/order/manager/base/service/attribute/standard/count/ansi |
| 184 | 184 | */ |
| 185 | - $cfgkey = 'mshop/order/manager/base/service/attribute/standard/aggregate' . $type; |
|
| 185 | + $cfgkey = 'mshop/order/manager/base/service/attribute/standard/aggregate'.$type; |
|
| 186 | 186 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.service.attribute' ), $value ); |
| 187 | 187 | } |
| 188 | 188 | |
@@ -781,7 +781,7 @@ discard block |
||
| 781 | 781 | * @see mshop/order/manager/base/service/attribute/decorators/global |
| 782 | 782 | */ |
| 783 | 783 | |
| 784 | - return $this->getSubManagerBase( 'order', 'base/service/attribute/' . $manager, $name ); |
|
| 784 | + return $this->getSubManagerBase( 'order', 'base/service/attribute/'.$manager, $name ); |
|
| 785 | 785 | } |
| 786 | 786 | |
| 787 | 787 | |
@@ -539,8 +539,7 @@ |
||
| 539 | 539 | * @see mshop/order/manager/base/standard/count/ansi |
| 540 | 540 | */ |
| 541 | 541 | $path = 'mshop/order/manager/base/standard/insert'; |
| 542 | - } |
|
| 543 | - else |
|
| 542 | + } else |
|
| 544 | 543 | { |
| 545 | 544 | /** mshop/order/manager/base/standard/update/mysql |
| 546 | 545 | * Updates an existing order record in the database |
@@ -160,6 +160,8 @@ discard block |
||
| 160 | 160 | * |
| 161 | 161 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria |
| 162 | 162 | * @param string $key Search key to aggregate items for |
| 163 | + * @param string $value |
|
| 164 | + * @param string $type |
|
| 163 | 165 | * @return array List of the search keys as key and the number of counted items as value |
| 164 | 166 | * @todo 2018.01 Add optional parameters to interface |
| 165 | 167 | */ |
@@ -700,7 +702,8 @@ discard block |
||
| 700 | 702 | * @param string[] $ref List of domains to fetch list items and referenced items for, e.g. |
| 701 | 703 | * "order/base/address", "order/base/coupon", "order/base/product", "order/base/service" |
| 702 | 704 | * @param integer|null &$total Number of items that are available in total |
| 703 | - * @return array List of items implementing \Aimeos\MShop\Order\Item\Base\Iface |
|
| 705 | + * @param integer $total |
|
| 706 | + * @return \Aimeos\MShop\Order\Item\Base\Iface[] List of items implementing \Aimeos\MShop\Order\Item\Base\Iface |
|
| 704 | 707 | */ |
| 705 | 708 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
| 706 | 709 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | * @see mshop/order/manager/base/standard/aggregate/ansi |
| 254 | 254 | */ |
| 255 | 255 | |
| 256 | - $cfgkey = 'mshop/order/manager/base/standard/aggregate' . $type; |
|
| 256 | + $cfgkey = 'mshop/order/manager/base/standard/aggregate'.$type; |
|
| 257 | 257 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base' ), $value ); |
| 258 | 258 | } |
| 259 | 259 | |
@@ -540,7 +540,7 @@ discard block |
||
| 540 | 540 | * @see mshop/order/manager/base/decorators/global |
| 541 | 541 | */ |
| 542 | 542 | |
| 543 | - return $this->getSubManagerBase( 'order', 'base/' . $manager, $name ); |
|
| 543 | + return $this->getSubManagerBase( 'order', 'base/'.$manager, $name ); |
|
| 544 | 544 | } |
| 545 | 545 | |
| 546 | 546 | |
@@ -268,8 +268,7 @@ |
||
| 268 | 268 | * @see mshop/order/manager/base/coupon/standard/count/ansi |
| 269 | 269 | */ |
| 270 | 270 | $path = 'mshop/order/manager/base/coupon/standard/insert'; |
| 271 | - } |
|
| 272 | - else |
|
| 271 | + } else |
|
| 273 | 272 | { |
| 274 | 273 | /** mshop/order/manager/base/coupon/standard/update/mysql |
| 275 | 274 | * Updates an existing order record in the database |
@@ -470,6 +470,7 @@ |
||
| 470 | 470 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
| 471 | 471 | * @param string[] $ref List of domains to fetch list items and referenced items for |
| 472 | 472 | * @param integer|null &$total Number of items that are available in total |
| 473 | + * @param integer $total |
|
| 473 | 474 | * @return array Return a list of items implementing \Aimeos\MShop\Order\Item\Base\Coupon\Iface |
| 474 | 475 | */ |
| 475 | 476 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * @see mshop/order/manager/base/coupon/standard/search/ansi |
| 162 | 162 | * @see mshop/order/manager/base/coupon/standard/count/ansi |
| 163 | 163 | */ |
| 164 | - $cfgkey = 'mshop/order/manager/base/coupon/standard/aggregate' . $type; |
|
| 164 | + $cfgkey = 'mshop/order/manager/base/coupon/standard/aggregate'.$type; |
|
| 165 | 165 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.coupon' ), $value ); |
| 166 | 166 | } |
| 167 | 167 | |
@@ -750,7 +750,7 @@ discard block |
||
| 750 | 750 | * @see mshop/order/manager/base/coupon/decorators/global |
| 751 | 751 | */ |
| 752 | 752 | |
| 753 | - return $this->getSubManagerBase( 'order', 'base/coupon/' . $manager, $name ); |
|
| 753 | + return $this->getSubManagerBase( 'order', 'base/coupon/'.$manager, $name ); |
|
| 754 | 754 | } |
| 755 | 755 | |
| 756 | 756 | |
@@ -400,8 +400,7 @@ |
||
| 400 | 400 | * @see mshop/order/manager/base/address/standard/count/ansi |
| 401 | 401 | */ |
| 402 | 402 | $path = 'mshop/order/manager/base/address/standard/insert'; |
| 403 | - } |
|
| 404 | - else |
|
| 403 | + } else |
|
| 405 | 404 | { |
| 406 | 405 | /** mshop/order/manager/base/address/standard/update/mysql |
| 407 | 406 | * Updates an existing order record in the database |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | * @see mshop/order/manager/base/address/standard/search/ansi |
| 312 | 312 | * @see mshop/order/manager/base/address/standard/count/ansi |
| 313 | 313 | */ |
| 314 | - $cfgkey = 'mshop/order/manager/base/address/standard/aggregate' . $type; |
|
| 314 | + $cfgkey = 'mshop/order/manager/base/address/standard/aggregate'.$type; |
|
| 315 | 315 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.address' ), $value ); |
| 316 | 316 | } |
| 317 | 317 | |
@@ -926,7 +926,7 @@ discard block |
||
| 926 | 926 | * @see mshop/order/manager/base/address/decorators/global |
| 927 | 927 | */ |
| 928 | 928 | |
| 929 | - return $this->getSubManagerBase( 'order', 'base/address/' . $manager, $name ); |
|
| 929 | + return $this->getSubManagerBase( 'order', 'base/address/'.$manager, $name ); |
|
| 930 | 930 | } |
| 931 | 931 | |
| 932 | 932 | |
@@ -402,8 +402,7 @@ |
||
| 402 | 402 | * @see mshop/order/manager/base/product/standard/count/ansi |
| 403 | 403 | */ |
| 404 | 404 | $path = 'mshop/order/manager/base/product/standard/insert'; |
| 405 | - } |
|
| 406 | - else |
|
| 405 | + } else |
|
| 407 | 406 | { |
| 408 | 407 | /** mshop/order/manager/base/product/standard/update/mysql |
| 409 | 408 | * Updates an existing order record in the database |
@@ -239,6 +239,8 @@ |
||
| 239 | 239 | * |
| 240 | 240 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria |
| 241 | 241 | * @param string $key Search key to aggregate items for |
| 242 | + * @param string $value |
|
| 243 | + * @param string $type |
|
| 242 | 244 | * @return array List of the search keys as key and the number of counted items as value |
| 243 | 245 | * @todo 2018.01 Add optional parameters to interface |
| 244 | 246 | */ |
@@ -332,7 +332,7 @@ discard block |
||
| 332 | 332 | * @see mshop/order/manager/base/product/standard/aggregate/ansi |
| 333 | 333 | */ |
| 334 | 334 | |
| 335 | - $cfgkey = 'mshop/order/manager/base/product/standard/aggregate' . $type; |
|
| 335 | + $cfgkey = 'mshop/order/manager/base/product/standard/aggregate'.$type; |
|
| 336 | 336 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.product' ), $value ); |
| 337 | 337 | } |
| 338 | 338 | |
@@ -783,7 +783,7 @@ discard block |
||
| 783 | 783 | * @see mshop/order/manager/base/product/decorators/global |
| 784 | 784 | */ |
| 785 | 785 | |
| 786 | - return $this->getSubManagerBase( 'order', 'base/product/' . $manager, $name ); |
|
| 786 | + return $this->getSubManagerBase( 'order', 'base/product/'.$manager, $name ); |
|
| 787 | 787 | } |
| 788 | 788 | |
| 789 | 789 | |
@@ -290,8 +290,7 @@ |
||
| 290 | 290 | * @see mshop/order/manager/base/product/attribute/standard/count/ansi |
| 291 | 291 | */ |
| 292 | 292 | $path = 'mshop/order/manager/base/product/attribute/standard/insert'; |
| 293 | - } |
|
| 294 | - else |
|
| 293 | + } else |
|
| 295 | 294 | { |
| 296 | 295 | /** mshop/order/manager/base/product/attribute/standard/update/mysql |
| 297 | 296 | * Updates an existing order record in the database |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * @see mshop/order/manager/base/product/attribute/standard/search/ansi |
| 183 | 183 | * @see mshop/order/manager/base/product/attribute/standard/count/ansi |
| 184 | 184 | */ |
| 185 | - $cfgkey = 'mshop/order/manager/base/product/attribute/standard/aggregate' . $type; |
|
| 185 | + $cfgkey = 'mshop/order/manager/base/product/attribute/standard/aggregate'.$type; |
|
| 186 | 186 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order.base.product.attribute' ), $value ); |
| 187 | 187 | } |
| 188 | 188 | |
@@ -616,7 +616,7 @@ discard block |
||
| 616 | 616 | * @see mshop/order/manager/base/product/attribute/decorators/global |
| 617 | 617 | */ |
| 618 | 618 | |
| 619 | - return $this->getSubManagerBase( 'order', 'base/product/attribute/' . $manager, $name ); |
|
| 619 | + return $this->getSubManagerBase( 'order', 'base/product/attribute/'.$manager, $name ); |
|
| 620 | 620 | } |
| 621 | 621 | |
| 622 | 622 | |
@@ -350,8 +350,7 @@ |
||
| 350 | 350 | * @see mshop/order/manager/standard/count/ansi |
| 351 | 351 | */ |
| 352 | 352 | $path = 'mshop/order/manager/standard/insert'; |
| 353 | - } |
|
| 354 | - else |
|
| 353 | + } else |
|
| 355 | 354 | { |
| 356 | 355 | /** mshop/order/manager/standard/update/mysql |
| 357 | 356 | * Updates an existing order record in the database |
@@ -179,6 +179,8 @@ discard block |
||
| 179 | 179 | * |
| 180 | 180 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria |
| 181 | 181 | * @param string $key Search key to aggregate items for |
| 182 | + * @param string $value |
|
| 183 | + * @param string $type |
|
| 182 | 184 | * @return array List of the search keys as key and the number of counted items as value |
| 183 | 185 | * @todo 2018.01 Add optional parameters to interface |
| 184 | 186 | */ |
@@ -567,6 +569,7 @@ discard block |
||
| 567 | 569 | * @param \Aimeos\MW\Criteria\Iface $search Search criteria object |
| 568 | 570 | * @param string[] $ref List of domains to fetch list items and referenced items for |
| 569 | 571 | * @param integer|null &$total Number of items that are available in total |
| 572 | + * @param integer $total |
|
| 570 | 573 | * @return array List of items implementing \Aimeos\MShop\Order\Item\Iface |
| 571 | 574 | */ |
| 572 | 575 | public function searchItems( \Aimeos\MW\Criteria\Iface $search, array $ref = [], &$total = null ) |
@@ -272,7 +272,7 @@ |
||
| 272 | 272 | * @see mshop/order/manager/standard/aggregate/ansi |
| 273 | 273 | */ |
| 274 | 274 | |
| 275 | - $cfgkey = 'mshop/order/manager/standard/aggregate' . $type; |
|
| 275 | + $cfgkey = 'mshop/order/manager/standard/aggregate'.$type; |
|
| 276 | 276 | return $this->aggregateBase( $search, $key, $cfgkey, array( 'order' ), $value ); |
| 277 | 277 | } |
| 278 | 278 | |