Exemplo n.º 1
0
 /**
  * Method to get a store id based on the 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  An identifier string to generate the store id.
  *
  * @return  string  A store id.
  *
  * @since   1.0
  */
 protected function getStoreId($id = '')
 {
     // Add the list state to the store id.
     $id .= ':' . $this->state->get('filter.priority');
     $id .= ':' . $this->state->get('filter.state');
     $id .= ':' . $this->state->get('filter.status');
     $id .= ':' . $this->state->get('filter.search');
     $id .= ':' . $this->state->get('filter.user');
     $id .= ':' . $this->state->get('filter.category');
     $id .= ':' . $this->state->get('filter.tests');
     $id .= ':' . $this->state->get('filter.easytest');
     return parent::getStoreId($id);
 }
Exemplo n.º 2
0
 /**
  * Method to get a store id based on the 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  An identifier string to generate the store id.
  *
  * @return  string  A store id.
  *
  * @since   1.0
  */
 protected function getStoreId($id = '')
 {
     // Add the list state to the store id.
     $id .= ':' . $this->state->get('filter.search-user');
     return parent::getStoreId($id);
 }