@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | */ |
73 | 73 | public function deleteItems( array $ids ) |
74 | 74 | { |
75 | - $this->deleteItemsBase( $ids, $this->getConfigPath() . 'delete' ); |
|
75 | + $this->deleteItemsBase( $ids, $this->getConfigPath().'delete' ); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | $type = 'update'; |
125 | 125 | } |
126 | 126 | |
127 | - $stmt = $this->getCachedStatement( $conn, $this->getConfigPath() . $type ); |
|
127 | + $stmt = $this->getCachedStatement( $conn, $this->getConfigPath().$type ); |
|
128 | 128 | |
129 | 129 | $stmt->bind( 1, $context->getLocale()->getSiteId(), \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
130 | 130 | $stmt->bind( 2, $item->getParentId() ); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | $stmt->bind( 7, $item->getFirstname() ); |
136 | 136 | $stmt->bind( 8, $item->getLastname() ); |
137 | 137 | $stmt->bind( 9, $item->getAddress1() ); |
138 | - $stmt->bind( 10, $item->getAddress2()); |
|
138 | + $stmt->bind( 10, $item->getAddress2() ); |
|
139 | 139 | $stmt->bind( 11, $item->getAddress3() ); |
140 | 140 | $stmt->bind( 12, $item->getPostal() ); |
141 | 141 | $stmt->bind( 13, $item->getCity() ); |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | if( $id === null && $fetch === true ) |
164 | 164 | { |
165 | - $path = $this->getConfigPath() . 'newid'; |
|
165 | + $path = $this->getConfigPath().'newid'; |
|
166 | 166 | $item->setId( $this->newId( $conn, $path ) ); |
167 | 167 | } |
168 | 168 | |
@@ -201,13 +201,13 @@ discard block |
||
201 | 201 | |
202 | 202 | $required = array( trim( $this->prefix, '.' ) ); |
203 | 203 | $level = \Aimeos\MShop\Locale\Manager\Base::SITE_ALL; |
204 | - $cfgPathSearch = $this->getConfigPath() . 'search'; |
|
205 | - $cfgPathCount = $this->getConfigPath() . 'count'; |
|
204 | + $cfgPathSearch = $this->getConfigPath().'search'; |
|
205 | + $cfgPathCount = $this->getConfigPath().'count'; |
|
206 | 206 | |
207 | 207 | $results = $this->searchItemsBase( $conn, $search, $cfgPathSearch, $cfgPathCount, $required, $total, $level ); |
208 | 208 | |
209 | 209 | while( ( $row = $results->fetch() ) !== false ) { |
210 | - $items[$row[$this->prefix . 'id']] = $this->createItemBase( $row ); |
|
210 | + $items[$row[$this->prefix.'id']] = $this->createItemBase( $row ); |
|
211 | 211 | } |
212 | 212 | |
213 | 213 | $dbm->release( $conn, $dbname ); |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | */ |
232 | 232 | public function getSubManager( $manager, $name = null ) |
233 | 233 | { |
234 | - return $this->getSubManagerBase( 'common', 'address/' . $manager, $name ); |
|
234 | + return $this->getSubManagerBase( 'common', 'address/'.$manager, $name ); |
|
235 | 235 | } |
236 | 236 | |
237 | 237 |
@@ -72,12 +72,12 @@ |
||
72 | 72 | |
73 | 73 | if( ctype_alnum( $name ) === false ) |
74 | 74 | { |
75 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Text\\Manager\\' . $name : '<not a string>'; |
|
75 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Text\\Manager\\'.$name : '<not a string>'; |
|
76 | 76 | throw new \Aimeos\MShop\Text\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
77 | 77 | } |
78 | 78 | |
79 | 79 | $iface = '\\Aimeos\\MShop\\Text\\Manager\\Iface'; |
80 | - $classname = '\\Aimeos\\MShop\\Text\\Manager\\' . $name; |
|
80 | + $classname = '\\Aimeos\\MShop\\Text\\Manager\\'.$name; |
|
81 | 81 | |
82 | 82 | $manager = self::createManagerBase( $context, $classname, $iface ); |
83 | 83 |
@@ -319,7 +319,7 @@ |
||
319 | 319 | * @see mshop/text/manager/lists/decorators/global |
320 | 320 | */ |
321 | 321 | |
322 | - return $this->getSubManagerBase( 'text', 'lists/' . $manager, $name ); |
|
322 | + return $this->getSubManagerBase( 'text', 'lists/'.$manager, $name ); |
|
323 | 323 | } |
324 | 324 | |
325 | 325 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/text/manager/lists/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'text', 'lists/type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'text', 'lists/type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/text/manager/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'text', 'type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'text', 'type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -71,12 +71,12 @@ |
||
71 | 71 | |
72 | 72 | if( ctype_alnum( $name ) === false ) |
73 | 73 | { |
74 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Catalog\\Manager\\' . $name : '<not a string>'; |
|
74 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Catalog\\Manager\\'.$name : '<not a string>'; |
|
75 | 75 | throw new \Aimeos\MShop\Catalog\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
76 | 76 | } |
77 | 77 | |
78 | 78 | $iface = '\\Aimeos\\MShop\\Catalog\\Manager\\Iface'; |
79 | - $classname = '\\Aimeos\\MShop\\Catalog\\Manager\\' . $name; |
|
79 | + $classname = '\\Aimeos\\MShop\\Catalog\\Manager\\'.$name; |
|
80 | 80 | |
81 | 81 | $manager = self::createManagerBase( $context, $classname, $iface ); |
82 | 82 |
@@ -319,7 +319,7 @@ |
||
319 | 319 | * @see mshop/catalog/manager/lists/decorators/global |
320 | 320 | */ |
321 | 321 | |
322 | - return $this->getSubManagerBase( 'catalog', 'lists/' . $manager, $name ); |
|
322 | + return $this->getSubManagerBase( 'catalog', 'lists/'.$manager, $name ); |
|
323 | 323 | } |
324 | 324 | |
325 | 325 |
@@ -282,7 +282,7 @@ |
||
282 | 282 | * @see mshop/catalog/manager/lists/type/decorators/global |
283 | 283 | */ |
284 | 284 | |
285 | - return $this->getSubManagerBase( 'catalog', 'lists/type/' . $manager, $name ); |
|
285 | + return $this->getSubManagerBase( 'catalog', 'lists/type/'.$manager, $name ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 |
@@ -70,12 +70,12 @@ |
||
70 | 70 | |
71 | 71 | if( ctype_alnum( $name ) === false ) |
72 | 72 | { |
73 | - $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Index\\Manager\\' . $name : '<not a string>'; |
|
73 | + $classname = is_string( $name ) ? '\\Aimeos\\MShop\\Index\\Manager\\'.$name : '<not a string>'; |
|
74 | 74 | throw new \Aimeos\MShop\Exception( sprintf( 'Invalid characters in class name "%1$s"', $classname ) ); |
75 | 75 | } |
76 | 76 | |
77 | 77 | $iface = '\\Aimeos\\MShop\\Index\\Manager\\Iface'; |
78 | - $classname = '\\Aimeos\\MShop\\Index\\Manager\\' . $name; |
|
78 | + $classname = '\\Aimeos\\MShop\\Index\\Manager\\'.$name; |
|
79 | 79 | |
80 | 80 | $manager = self::createManagerBase( $context, $classname, $iface ); |
81 | 81 |