@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/plugin/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/plugin/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/plugin/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\\Admin\\JQAdm\\Type\\Plugin\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Plugin\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Plugin\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/plugin' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/plugin'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/price/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/price/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/price/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\\Admin\\JQAdm\\Type\\Price\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Price\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Price\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/price' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/price'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/price/lists/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/price/lists/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/price/lists/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\\Admin\\JQAdm\\Type\\Price\\Lists\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Price\\Lists\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Price\\Lists\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/price/lists' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/price/lists'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/media/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/media/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/media/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\\Admin\\JQAdm\\Type\\Media\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Media\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Media\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/media' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/media'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/media/lists/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/media/lists/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/media/lists/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\\Admin\\JQAdm\\Type\\Media\\Lists\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Media\\Lists\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Media\\Lists\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/media/lists' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/media/lists'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/customer/lists/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/customer/lists/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/customer/lists/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\\Admin\\JQAdm\\Type\\Customer\\Lists\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Customer\\Lists\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Customer\\Lists\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/customer/lists' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/customer/lists'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/attribute/property/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2018.01 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/attribute/property/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/attribute/property/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\\Admin\\JQAdm\\Type\\Attribute\\Property\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\Property\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\Property\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/attribute/property' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/attribute/property'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/attribute/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/attribute/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/attribute/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\\Admin\\JQAdm\\Type\\Attribute\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/attribute' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/attribute'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * @return \Aimeos\Admin\JQAdm\Iface Filter part implementing \Aimeos\Admin\JQAdm\Iface |
| 30 | 30 | * @throws \Aimeos\Admin\JQAdm\Exception If requested client implementation couldn't be found or initialisation fails |
| 31 | 31 | */ |
| 32 | - public static function createClient( \Aimeos\MShop\Context\Item\Iface $context, $name = null ) |
|
| 32 | + public static function createClient(\Aimeos\MShop\Context\Item\Iface $context, $name = null) |
|
| 33 | 33 | { |
| 34 | 34 | /** admin/jqadm/type/attribute/lists/name |
| 35 | 35 | * Class name of the used account favorite client implementation |
@@ -64,22 +64,22 @@ discard block |
||
| 64 | 64 | * @since 2017.10 |
| 65 | 65 | * @category Developer |
| 66 | 66 | */ |
| 67 | - if( $name === null ) { |
|
| 68 | - $name = $context->getConfig()->get( 'admin/jqadm/type/attribute/lists/name', 'Standard' ); |
|
| 67 | + if ($name === null) { |
|
| 68 | + $name = $context->getConfig()->get('admin/jqadm/type/attribute/lists/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\\Admin\\JQAdm\\Type\\Attribute\\Lists\\' . $name : '<not a string>'; |
|
| 74 | - throw new \Aimeos\Admin\JQAdm\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
|
| 73 | + $classname = is_string($name) ? '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\Lists\\' . $name : '<not a string>'; |
|
| 74 | + throw new \Aimeos\Admin\JQAdm\Exception(sprintf('Invalid characters in class name "%1$s"', $classname)); |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | $iface = '\\Aimeos\\Admin\\JQAdm\\Iface'; |
| 78 | 78 | $classname = '\\Aimeos\\Admin\\JQAdm\\Type\\Attribute\\Lists\\' . $name; |
| 79 | 79 | |
| 80 | - $client = self::createClientBase( $context, $classname, $iface ); |
|
| 80 | + $client = self::createClientBase($context, $classname, $iface); |
|
| 81 | 81 | |
| 82 | - return self::addClientDecorators( $context, $client, 'type/attribute/lists' ); |
|
| 82 | + return self::addClientDecorators($context, $client, 'type/attribute/lists'); |
|
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | } |
| 86 | 86 | \ No newline at end of file |