original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns an array of enabled collection for the store keyed by an entity name
  @return array
docstring_tokens: Returns an array of enabled collection for the store keyed by an entity name