本文整理汇总了PHP中JModelList::getStoreId方法的典型用法代码示例。如果您正苦于以下问题:PHP JModelList::getStoreId方法的具体用法?PHP JModelList::getStoreId怎么用?PHP JModelList::getStoreId使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JModelList
的用法示例。
在下文中一共展示了JModelList::getStoreId方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getStoreId
protected function getStoreId($id = '')
{
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.location');
$id .= ':' . $this->getState('filter.e_type');
return parent::getStoreId($id);
}
示例2: getStoreId
/**
* Method to get a store id based on model configuration state.
*
* @param string $id a prefix for the store id.
* @return string a store id.
*/
protected function getStoreId($id = '')
{
foreach ($this->filter as $name => $type) {
$id .= sprintf(':%s', JoomDOCView::getStateName($name));
}
return parent::getStoreId($id);
}
示例3: getStoreID
/**
* 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 = '')
{
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.category_id');
$id .= ':' . $this->getState('filter.author_id');
return parent::getStoreId($id);
}
示例4: getStoreId
/**
* Filters
*/
protected function getStoreId($id = '')
{
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.state');
$id .= ':' . $this->getState('filter.language');
return parent::getStoreId($id);
}
示例5: getStoreId
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('category.id');
$id .= ':' . $this->getState('filter.published');
return parent::getStoreId($id);
}
示例6: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.state');
return parent::getStoreId($id);
}
示例7: getStoreId
protected function getStoreId($id = '')
{
$id .= ':' . $this->getState('list.access');
$id .= ':' . $this->getState('list.language');
$id .= ':' . $this->getState('list.category');
$id .= ':' . $this->getState('list.searchword');
return parent::getStoreId($id);
}
示例8: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState($this->context . '.project_id');
$id .= ':' . $this->getState('list.ordering');
$id .= ':' . $this->getState('list.direction');
return parent::getStoreId($id);
}
示例9: getStoreId
/**
* Метод для получения store id, которое основывается на состоянии модели.
*
* @param string $id Идентификационная строка для генерации store id.
*
* @return string Store id.
*/
protected function getStoreId($id = '')
{
// Компилируем store id.
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.state');
$id .= ':' . $this->getState('filter.category_id');
return parent::getStoreId($id);
}
示例10: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('filter.extension_number');
$id .= ':' . $this->getState('filter.published');
$id .= ':' . $this->getState('filter.extension_name');
$id .= ':' . $this->getState('filter.id');
return parent::getStoreId($id);
}
示例11: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('filter.title');
$id .= ':' . $this->getState('filter.artist');
$id .= ':' . $this->getState('filter.category_id');
$id .= ':' . $this->getState('filter.search');
return parent::getStoreId($id);
}
示例12: getStoreId
/**
* 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);
}
示例13: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.payment_service');
$id .= ':' . $this->getState('filter.reward_state');
$id .= ':' . $this->getState('filter.payment_status');
return parent::getStoreId($id);
}
示例14: getStoreId
/**
* 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.
* @since 1.6
*/
protected function getStoreId($id = '')
{
// Compile the store id.
$id .= ':' . $this->getState('filter.search');
$id .= ':' . $this->getState('filter.published');
$id .= ':' . $this->getState('filter.category_id');
$id .= ':' . $this->getState('filter.tourismtype_id');
return parent::getStoreId($id);
}
示例15: getStoreId
/**
* 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_search');
$id .= ':' . $this->getState('filter_published');
// $id .= ':' . $this->getState('filter_type');
return parent::getStoreId($id);
}