@@ -242,7 +242,7 @@ |
||
| 242 | 242 | /** |
| 243 | 243 | * Returns the processor object for saving the product related information |
| 244 | 244 | * |
| 245 | - * @param array $mapping Associative list of processor types as keys and index/data mappings as values |
|
| 245 | + * @param array $mappings Associative list of processor types as keys and index/data mappings as values |
|
| 246 | 246 | * @return \Aimeos\Controller\Common\Product\Import\Csv\Processor\Iface Processor object |
| 247 | 247 | */ |
| 248 | 248 | protected function getProcessors( array $mappings ) |
@@ -291,6 +291,9 @@ discard block |
||
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | |
| 294 | + /** |
|
| 295 | + * @param string $code |
|
| 296 | + */ |
|
| 294 | 297 | protected function create( $code ) |
| 295 | 298 | { |
| 296 | 299 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -330,6 +333,9 @@ discard block |
||
| 330 | 333 | } |
| 331 | 334 | |
| 332 | 335 | |
| 336 | + /** |
|
| 337 | + * @param string $code |
|
| 338 | + */ |
|
| 333 | 339 | protected function get( $code ) |
| 334 | 340 | { |
| 335 | 341 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -98,9 +98,6 @@ |
||
| 98 | 98 | * Sends the account creation e-mail to the e-mail address of the customer |
| 99 | 99 | * |
| 100 | 100 | * @param \Aimeos\MShop\Context\Item\Iface $context Context item object |
| 101 | - * @param \Aimeos\MShop\Common\Item\Address\Iface $address Payment address item of the customer |
|
| 102 | - * @param string $code Customer login name |
|
| 103 | - * @param string $password Customer clear text password |
|
| 104 | 101 | */ |
| 105 | 102 | protected function sendEmail( \Aimeos\MShop\Context\Item\Iface $context, \Aimeos\MShop\Customer\Item\Iface $item ) |
| 106 | 103 | { |
@@ -499,7 +499,7 @@ |
||
| 499 | 499 | * |
| 500 | 500 | * @param array $products List of products items implementing \Aimeos\MShop\Product\Item\Iface |
| 501 | 501 | * @param array $data Associative list of import data as index/value pairs |
| 502 | - * @param array $mappings Associative list of positions and domain item keys |
|
| 502 | + * @param array $mapping Associative list of positions and domain item keys |
|
| 503 | 503 | * @param \Aimeos\Controller\Common\Product\Import\Csv\Processor\Iface $processor Processor object |
| 504 | 504 | * @param boolean $strict Log columns not mapped or silently ignore them |
| 505 | 505 | * @return integer Number of products that couldn't be imported |
@@ -425,7 +425,7 @@ discard block |
||
| 425 | 425 | * @see controller/jobs/product/import/csv/container/type |
| 426 | 426 | * @see controller/jobs/product/import/csv/container/content |
| 427 | 427 | * @see controller/jobs/product/import/csv/container/options |
| 428 | - */ |
|
| 428 | + */ |
|
| 429 | 429 | $location = $config->get( 'controller/jobs/product/import/csv/location', '.' ); |
| 430 | 430 | |
| 431 | 431 | /** controller/jobs/product/import/csv/container/type |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | * @see controller/jobs/product/import/csv/location |
| 449 | 449 | * @see controller/jobs/product/import/csv/container/content |
| 450 | 450 | * @see controller/jobs/product/import/csv/container/options |
| 451 | - */ |
|
| 451 | + */ |
|
| 452 | 452 | $container = $config->get( 'controller/jobs/product/import/csv/container/type', 'Directory' ); |
| 453 | 453 | |
| 454 | 454 | /** controller/jobs/product/import/csv/container/content |
@@ -469,7 +469,7 @@ discard block |
||
| 469 | 469 | * @see controller/jobs/product/import/csv/location |
| 470 | 470 | * @see controller/jobs/product/import/csv/container/type |
| 471 | 471 | * @see controller/jobs/product/import/csv/container/options |
| 472 | - */ |
|
| 472 | + */ |
|
| 473 | 473 | $content = $config->get( 'controller/jobs/product/import/csv/container/content', 'CSV' ); |
| 474 | 474 | |
| 475 | 475 | /** controller/jobs/product/import/csv/container/options |
@@ -487,7 +487,7 @@ discard block |
||
| 487 | 487 | * @see controller/jobs/product/import/csv/location |
| 488 | 488 | * @see controller/jobs/product/import/csv/container/content |
| 489 | 489 | * @see controller/jobs/product/import/csv/container/type |
| 490 | - */ |
|
| 490 | + */ |
|
| 491 | 491 | $options = $config->get( 'controller/jobs/product/import/csv/container/options', array() ); |
| 492 | 492 | |
| 493 | 493 | return \Aimeos\MW\Container\Factory::getContainer( $location, $container, $content, $options ); |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | * @see controller/jobs/product/export/location |
| 141 | 141 | * @see controller/jobs/product/export/max-items |
| 142 | 142 | * @see controller/jobs/product/export/max-query |
| 143 | - */ |
|
| 143 | + */ |
|
| 144 | 144 | $container = $config->get( 'controller/jobs/product/export/standard/container/type', 'Directory' ); |
| 145 | 145 | |
| 146 | 146 | /** controller/jobs/product/export/standard/container/content |
@@ -291,6 +291,9 @@ discard block |
||
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | |
| 294 | + /** |
|
| 295 | + * @param string $code |
|
| 296 | + */ |
|
| 294 | 297 | protected function create( $code ) |
| 295 | 298 | { |
| 296 | 299 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -330,6 +333,9 @@ discard block |
||
| 330 | 333 | } |
| 331 | 334 | |
| 332 | 335 | |
| 336 | + /** |
|
| 337 | + * @param string $code |
|
| 338 | + */ |
|
| 333 | 339 | protected function get( $code ) |
| 334 | 340 | { |
| 335 | 341 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -290,6 +290,9 @@ discard block |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | |
| 293 | + /** |
|
| 294 | + * @param string $code |
|
| 295 | + */ |
|
| 293 | 296 | protected function create( $code ) |
| 294 | 297 | { |
| 295 | 298 | $manager = \Aimeos\MShop\Catalog\Manager\Factory::createManager( $this->context ); |
@@ -316,6 +319,11 @@ discard block |
||
| 316 | 319 | } |
| 317 | 320 | |
| 318 | 321 | |
| 322 | + /** |
|
| 323 | + * @param string $code |
|
| 324 | + * |
|
| 325 | + * @return \Aimeos\MShop\Catalog\Item\Iface |
|
| 326 | + */ |
|
| 319 | 327 | protected function get( $code ) |
| 320 | 328 | { |
| 321 | 329 | $manager = \Aimeos\MShop\Catalog\Manager\Factory::createManager( $this->context ); |
@@ -291,6 +291,9 @@ discard block |
||
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | |
| 294 | + /** |
|
| 295 | + * @param string $code |
|
| 296 | + */ |
|
| 294 | 297 | protected function create( $code ) |
| 295 | 298 | { |
| 296 | 299 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -330,6 +333,9 @@ discard block |
||
| 330 | 333 | } |
| 331 | 334 | |
| 332 | 335 | |
| 336 | + /** |
|
| 337 | + * @param string $code |
|
| 338 | + */ |
|
| 333 | 339 | protected function get( $code ) |
| 334 | 340 | { |
| 335 | 341 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -291,6 +291,9 @@ discard block |
||
| 291 | 291 | } |
| 292 | 292 | |
| 293 | 293 | |
| 294 | + /** |
|
| 295 | + * @param string $code |
|
| 296 | + */ |
|
| 294 | 297 | protected function create( $code ) |
| 295 | 298 | { |
| 296 | 299 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |
@@ -330,6 +333,9 @@ discard block |
||
| 330 | 333 | } |
| 331 | 334 | |
| 332 | 335 | |
| 336 | + /** |
|
| 337 | + * @param string $code |
|
| 338 | + */ |
|
| 333 | 339 | protected function get( $code ) |
| 334 | 340 | { |
| 335 | 341 | $manager = \Aimeos\MShop\Product\Manager\Factory::createManager( $this->context ); |