コード例 #1
0
ファイル: categories.php プロジェクト: Joomla-on-NoSQL/LaMojo
 /**
  * Method to get a store id based on model configuration state.
  *
  * This is necessary because the model is used by the component and
  * different modules that might need different sets of data or different
  * ordering requirements.
  *
  * @param	string		$id	A prefix for the store id.
  *
  * @return	string		A store id.
  */
 protected function getStoreId($id = '')
 {
     // Compile the store id.
     $id .= ':' . $this->getState('filter.extension');
     $id .= ':' . $this->getState('filter.published');
     $id .= ':' . $this->getState('filter.access');
     $id .= ':' . $this->getState('filter.parentId');
     return parent::getStoreId($id);
 }
コード例 #2
0
ファイル: term.php プロジェクト: lautarodragan/ideary
 protected function getStoreId($id = '')
 {
     // Compile the store id.
     //$id .= ':' . $this->getState('filter.published');
     return parent::getStoreId($id);
 }