@@ -215,7 +215,6 @@ discard block |
||
| 215 | 215 | /** |
| 216 | 216 | * Sets the sorting of the product list |
| 217 | 217 | * |
| 218 | - * @param string|null $sort Sortation of the product list like "name", "-name", "price", "-price", "code", "-code", "ctime, "-ctime" and "relevance", null for no sortation |
|
| 219 | 218 | * @return \Aimeos\Controller\Frontend\Product\Iface Product controller for fluent interface |
| 220 | 219 | * @since 2019.04 |
| 221 | 220 | */ |
@@ -258,7 +257,7 @@ discard block |
||
| 258 | 257 | /** |
| 259 | 258 | * Returns the frontend controller |
| 260 | 259 | * |
| 261 | - * @return \Aimeos\Controller\Frontend\Product\Iface Frontend controller object |
|
| 260 | + * @return \Aimeos\Controller\Frontend\Iface Frontend controller object |
|
| 262 | 261 | */ |
| 263 | 262 | protected function getController() |
| 264 | 263 | { |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | /** |
| 130 | 130 | * Sets the sorting of the product list |
| 131 | 131 | * |
| 132 | - * @param string|null $sort Sortation of the product list like "name", "-name", "price", "-price", "code", "-code", "ctime, "-ctime" and "relevance", null for no sortation |
|
| 132 | + * @param string $key |
|
| 133 | 133 | * @return \Aimeos\Controller\Frontend\Product\Iface Product controller for fluent interface |
| 134 | 134 | * @since 2019.04 |
| 135 | 135 | */ |
@@ -63,7 +63,6 @@ discard block |
||
| 63 | 63 | /** |
| 64 | 64 | * Returns the aggregated count of products for the given key. |
| 65 | 65 | * |
| 66 | - * @param \Aimeos\MW\Criteria\Iface $filter Critera object which contains the filter conditions |
|
| 67 | 66 | * @param string $key Search key to aggregate for, e.g. "index.attribute.id" |
| 68 | 67 | * @return array Associative list of key values as key and the product count for this key as value |
| 69 | 68 | * @since 2019.04 |
@@ -139,7 +138,7 @@ discard block |
||
| 139 | 138 | * |
| 140 | 139 | * @param string $operator Comparison operator, e.g. "==", "!=", "<", "<=", ">=", ">", "=~", "~=" |
| 141 | 140 | * @param string $key Search key defined by the product manager, e.g. "product.status" |
| 142 | - * @param array|string $value Value or list of values to compare to |
|
| 141 | + * @param string $value Value or list of values to compare to |
|
| 143 | 142 | * @return \Aimeos\Controller\Frontend\Product\Iface Product controller for fluent interface |
| 144 | 143 | * @since 2019.04 |
| 145 | 144 | */ |
@@ -259,7 +258,7 @@ discard block |
||
| 259 | 258 | /** |
| 260 | 259 | * Sets the sorting of the product list |
| 261 | 260 | * |
| 262 | - * @param string|null $sort Sortation of the product list like "name", "-name", "price", "-price", "code", "-code", "ctime, "-ctime" and "relevance", null for no sortation |
|
| 261 | + * @param string $key |
|
| 263 | 262 | * @return \Aimeos\Controller\Frontend\Product\Iface Product controller for fluent interface |
| 264 | 263 | * @since 2019.04 |
| 265 | 264 | */ |
@@ -229,6 +229,9 @@ |
||
| 229 | 229 | } |
| 230 | 230 | |
| 231 | 231 | |
| 232 | + /** |
|
| 233 | + * @param string $name |
|
| 234 | + */ |
|
| 232 | 235 | protected function access( $name ) |
| 233 | 236 | { |
| 234 | 237 | $class = new \ReflectionClass( \Aimeos\Controller\Frontend\Product\Decorator\Base::class ); |