@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'customer.property.type.id' => array( |
25 | 25 | 'code' => 'customer.property.type.id', |
26 | 26 | 'internalcode' => 'ezpprty."id"', |
27 | - 'internaldeps' => array( 'LEFT JOIN "ezp_user_property_type" AS ezpprty ON ( ezppr."typeid" = ezpprty."id" )' ), |
|
27 | + 'internaldeps' => array('LEFT JOIN "ezp_user_property_type" AS ezpprty ON ( ezppr."typeid" = ezpprty."id" )'), |
|
28 | 28 | 'label' => 'Property type ID', |
29 | 29 | 'type' => 'integer', |
30 | 30 | 'internaltype' => \Aimeos\MW\DB\Statement\Base::PARAM_INT, |
@@ -105,14 +105,14 @@ discard block |
||
105 | 105 | * |
106 | 106 | * @param array $siteids List of IDs for sites whose entries should be deleted |
107 | 107 | */ |
108 | - public function cleanup( array $siteids ) |
|
108 | + public function cleanup(array $siteids) |
|
109 | 109 | { |
110 | 110 | $path = 'mshop/customer/manager/property/type/submanagers'; |
111 | - foreach( $this->getContext()->getConfig()->get( $path, [] ) as $domain ) { |
|
112 | - $this->getObject()->getSubManager( $domain )->cleanup( $siteids ); |
|
111 | + foreach ($this->getContext()->getConfig()->get($path, []) as $domain) { |
|
112 | + $this->getObject()->getSubManager($domain)->cleanup($siteids); |
|
113 | 113 | } |
114 | 114 | |
115 | - $this->cleanupBase( $siteids, 'mshop/customer/manager/property/type/ezpublish/delete' ); |
|
115 | + $this->cleanupBase($siteids, 'mshop/customer/manager/property/type/ezpublish/delete'); |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | |
@@ -122,11 +122,11 @@ discard block |
||
122 | 122 | * @param boolean $withsub Return also attributes of sub-managers if true |
123 | 123 | * @return array Returns a list of attribtes implementing \Aimeos\MW\Criteria\Attribute\Iface |
124 | 124 | */ |
125 | - public function getSearchAttributes( $withsub = true ) |
|
125 | + public function getSearchAttributes($withsub = true) |
|
126 | 126 | { |
127 | 127 | $path = 'mshop/customer/manager/property/type/submanagers'; |
128 | 128 | |
129 | - return $this->getSearchAttributesBase( $this->searchConfig, $path, [], $withsub ); |
|
129 | + return $this->getSearchAttributesBase($this->searchConfig, $path, [], $withsub); |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | |
@@ -137,9 +137,9 @@ discard block |
||
137 | 137 | * @param string|null $name Name of the implementation, will be from configuration (or Default) if null |
138 | 138 | * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g types, lists etc. |
139 | 139 | */ |
140 | - public function getSubManager( $manager, $name = null ) |
|
140 | + public function getSubManager($manager, $name = null) |
|
141 | 141 | { |
142 | - return $this->getSubManagerBase( 'customer', 'property/type/' . $manager, ( $name === null ? 'Ezpublish' : $name ) ); |
|
142 | + return $this->getSubManagerBase('customer', 'property/type/'.$manager, ($name === null ? 'Ezpublish' : $name)); |
|
143 | 143 | } |
144 | 144 | |
145 | 145 |