protected function getListCollectionStore()
    {
        if (empty($this->data_store['store_id'])) {
            return array();
        }

        $conditions = array(
            'status' => 1,
            'store_id' => $this->data_store['store_id']
        );

        $collections = (array) $this->collection->getList($conditions);

        $list = array();
        foreach ($collections as $collection) {
            $list[$collection['type']][$collection['collection_id']] = $collection;
        }

        return $list;
    }
protected function getListCollectionStore()
    {
        if (empty($this->data_store['store_id'])) {
            return array();
        }

        $conditions = array(
            'status' => 1,
            'store_id' => $this->data_store['store_id']
        );

        $collections = (array) $this->collection->getList($conditions);

        $list = array();
        foreach ($collections as $collection) {
            $list[$collection['type']][$collection['collection_id']] = $collection;
        }

        return $list;
    }
protected function getListCollectionStore ( ) { if ( empty ( $ this -> data_store [ 'store_id' ] ) ) { return array ( ) ; } $ conditions = array ( 'status' => 1 , 'store_id' => $ this -> data_store [ 'store_id' ] ) ; $ collections = ( array ) $ this -> collection -> getList ( $ conditions ) ; $ list = array ( ) ; foreach ( $ collections as $ collection ) { $ list [ $ collection [ 'type' ] ] [ $ collection [ 'collection_id' ] ] = $ collection ; } return $ list ; }
Returns an array of enabled collection for the store keyed by an entity name
@return array
Returns an array of enabled collection for the store keyed by an entity name