@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2018.04 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/subscription/export/csv/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/subscription/export/csv/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Export\\Csv\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Export\\Csv\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | { |
115 | 115 | if( ctype_alnum( $type ) === false ) |
116 | 116 | { |
117 | - $classname = is_string($type) ? '\\Aimeos\\Controller\\Common\\Subscription\\Export\\Csv\\Processor\\' . $type : '<not a string>'; |
|
117 | + $classname = is_string( $type ) ? '\\Aimeos\\Controller\\Common\\Subscription\\Export\\Csv\\Processor\\' . $type : '<not a string>'; |
|
118 | 118 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
119 | 119 | } |
120 | 120 | |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | |
123 | 123 | if( ctype_alnum( $name ) === false ) |
124 | 124 | { |
125 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Subscription\\Export\\Csv\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
125 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Subscription\\Export\\Csv\\Processor\\' . $type . '\\' . $name : '<not a string>'; |
|
126 | 126 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
127 | 127 | } |
128 | 128 |
@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2018.04 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/subscription/process/renew/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/subscription/process/renew/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Renew\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Renew\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |
@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2018.04 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/subscription/process/begin/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/subscription/process/begin/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Begin\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\Begin\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |
@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2018.04 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/subscription/process/end/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/subscription/process/end/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\End\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Subscription\\Process\\End\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | { |
38 | 38 | if( ctype_alnum( $pname ) === false ) |
39 | 39 | { |
40 | - $classname = is_string($pname) ? '\\Aimeos\\Controller\\Common\\Subscription\\Process\\Processor\\' . $pname : '<not a string>'; |
|
40 | + $classname = is_string( $pname ) ? '\\Aimeos\\Controller\\Common\\Subscription\\Process\\Processor\\' . $pname : '<not a string>'; |
|
41 | 41 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
42 | 42 | } |
43 | 43 | |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | if( ctype_alnum( $name ) === false ) |
47 | 47 | { |
48 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Common\\Subscription\\Process\\Processor\\' . $pname . '\\' . $name : '<not a string>'; |
|
48 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Common\\Subscription\\Process\\Processor\\' . $pname . '\\' . $name : '<not a string>'; |
|
49 | 49 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
50 | 50 | } |
51 | 51 |
@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2018.04 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/catalog/import/csv/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/catalog/import/csv/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Catalog\\Import\\Csv\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Catalog\\Import\\Csv\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |
@@ -572,7 +572,7 @@ |
||
572 | 572 | { |
573 | 573 | $code = trim( $code ); |
574 | 574 | |
575 | - if( isset( $catalogMap[$code] ) ) { |
|
575 | + if( isset( $catalogMap[$code] ) ) { |
|
576 | 576 | $item = $catalogMap[$code]; |
577 | 577 | } else { |
578 | 578 | $item = $manager->createItem(); |
@@ -64,13 +64,13 @@ |
||
64 | 64 | * @since 2015.01 |
65 | 65 | * @category Developer |
66 | 66 | */ |
67 | - if ( $name === null ) { |
|
68 | - $name = $context->getConfig()->get('controller/jobs/order/export/csv/name', 'Standard'); |
|
67 | + if( $name === null ) { |
|
68 | + $name = $context->getConfig()->get( 'controller/jobs/order/export/csv/name', 'Standard' ); |
|
69 | 69 | } |
70 | 70 | |
71 | - if ( ctype_alnum($name) === false ) |
|
71 | + if( ctype_alnum( $name ) === false ) |
|
72 | 72 | { |
73 | - $classname = is_string($name) ? '\\Aimeos\\Controller\\Jobs\\Order\\Export\\Csv\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\Controller\\Jobs\\Order\\Export\\Csv\\' . $name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\Controller\Jobs\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 |