1 | <?php |
||
20 | class Standard |
||
21 | extends \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Base |
||
22 | implements \Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Iface |
||
23 | { |
||
24 | /** controller/common/coupon/import/csv/processor/code/name |
||
25 | * Name of the coupon code processor implementation |
||
26 | * |
||
27 | * Use "Myname" if your class is named "\Aimeos\Controller\Common\Coupon\Import\Csv\Processor\Code\Myname". |
||
28 | * The name is case-sensitive and you should avoid camel case names like "MyName". |
||
29 | * |
||
30 | * @param string Last part of the processor class name |
||
31 | * @since 2017.10 |
||
32 | * @category Developer |
||
33 | */ |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Saves the coupon code related data to the storage |
||
38 | * |
||
39 | * @param \Aimeos\MShop\Coupon\Item\Code\Iface $item Coupon code object |
||
40 | * @param array $data List of CSV fields with position as key and data as value |
||
41 | * @return array List of data which hasn't been imported |
||
42 | */ |
||
43 | public function process( \Aimeos\MShop\Coupon\Item\Code\Iface $item, array $data ) |
||
60 | } |
||
61 |