/** * Returns a list of objects describing the available criterias for searching. * * @param boolean $withsub Return also attributes of sub-managers if true * @return array List of items implementing \Aimeos\MW\Criteria\Attribute\Iface */ public function getSearchAttributes($withsub = true) { $list = parent::getSearchAttributes($withsub); /** mshop/index/manager/text/submanagers * List of manager names that can be instantiated by the index text manager * * Managers provide a generic interface to the underlying storage. * Each manager has or can have sub-managers caring about particular * aspects. Each of these sub-managers can be instantiated by its * parent manager using the getSubManager() method. * * The search keys from sub-managers can be normally used in the * manager as well. It allows you to search for items of the manager * using the search keys of the sub-managers to further limit the * retrieved list of items. * * @param array List of sub-manager names * @since 2014.03 * @category Developer */ $path = 'mshop/index/manager/text/submanagers'; $list += $this->getSearchAttributesBase($this->searchConfig, $path, array(), $withsub); return $list; }
/** * Returns a list of objects describing the available criterias for searching. * * @param boolean $withsub Return also attributes of sub-managers if true * @return array List of items implementing \Aimeos\MW\Criteria\Attribute\Iface */ public function getSearchAttributes($withsub = true) { $list = parent::getSearchAttributes($withsub); /** mshop/index/manager/standard/submanagers * Replaced by mshop/index/manager/submanagers since 2016.01 * * @see mshop/index/manager/standard/submanagers */ $path = 'mshop/index/manager/submanagers'; $default = array('price', 'catalog', 'attribute', 'text'); $list += $this->getSearchAttributesBase(array(), $path, $default, $withsub); return $list; }