1 | <?php |
||
20 | class Standard |
||
21 | extends \Aimeos\Controller\Frontend\Base |
||
2 ignored issues
–
show
|
|||
22 | implements Iface, \Aimeos\Controller\Frontend\Common\Iface |
||
1 ignored issue
–
show
|
|||
23 | { |
||
24 | /** |
||
25 | * Returns the default locale filter |
||
26 | * |
||
27 | * @param boolean True to add default criteria |
||
28 | * @return \Aimeos\MW\Criteria\Iface Criteria object containing the conditions for searching |
||
29 | * @since 2017.03 |
||
30 | */ |
||
31 | public function createFilter() |
||
46 | |||
47 | |||
48 | /** |
||
49 | * Returns the locale item for the given locale ID |
||
50 | * |
||
51 | * @param string $id Unique locale ID |
||
52 | * @param string[] $domains Domain names of items that are associated with the locales and that should be fetched too |
||
53 | * @return \Aimeos\MShop\Locale\Item\Iface Locale item including the referenced domains items |
||
54 | * @since 2017.03 |
||
55 | */ |
||
56 | public function getItem( $id, array $domains = array() ) |
||
60 | |||
61 | |||
62 | /** |
||
63 | * Returns the locales filtered by the given criteria object |
||
64 | * |
||
65 | * @param \Aimeos\MW\Criteria\Iface $filter Critera object which contains the filter conditions |
||
66 | * @param string[] $domains Domain names of items that are associated with the locales and that should be fetched too |
||
67 | * @param integer &$total Parameter where the total number of found locales will be stored in |
||
68 | * @return array Ordered list of locale items implementing \Aimeos\MShop\Locale\Item\Iface |
||
69 | * @since 2017.03 |
||
70 | */ |
||
71 | public function searchItems( \Aimeos\MW\Criteria\Iface $filter, array $domains = array(), &$total = null ) |
||
75 | } |
||
76 |