本文整理汇总了PHP中Mage_Core_Model_Mysql4_Collection_Abstract::_renderFiltersBefore方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Model_Mysql4_Collection_Abstract::_renderFiltersBefore方法的具体用法?PHP Mage_Core_Model_Mysql4_Collection_Abstract::_renderFiltersBefore怎么用?PHP Mage_Core_Model_Mysql4_Collection_Abstract::_renderFiltersBefore使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Core_Model_Mysql4_Collection_Abstract
的用法示例。
在下文中一共展示了Mage_Core_Model_Mysql4_Collection_Abstract::_renderFiltersBefore方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: _renderFiltersBefore
/**
* Join store relation table if there is store filter
*/
protected function _renderFiltersBefore()
{
if ($this->getFilter('store')) {
$this->getSelect()->join(array('store_table' => $this->getTable('designer_store')), 'main_table.value_id = store_table.value_id', array())->group('main_table.value_id');
}
return parent::_renderFiltersBefore();
}
开发者ID:shebin512,项目名称:Magento_Zoff,代码行数:10,代码来源:Collection.php示例2: _renderFiltersBefore
protected function _renderFiltersBefore()
{
if ($this->getFilter('store')) {
$this->getSelect()->join(array('store_table' => $this->getTable('rocketweb_search/query_store')), 'main_table.query_id = store_table.query_id', array())->group('main_table.query_id');
}
return parent::_renderFiltersBefore();
}
开发者ID:beejhuff,项目名称:magento-kick-butt-search,代码行数:7,代码来源:Collection.php示例3: _renderFiltersBefore
/**
* Join store relation table if there is store filter
*/
protected function _renderFiltersBefore()
{
if ($this->getFilter('store')) {
$this->getSelect()->join(array('store_table' => $this->getTable('tm_testimonials/store')), 'main_table.testimonial_id = store_table.testimonial_id', array())->group('main_table.testimonial_id');
/*
* Allow analytic functions usage because of one field grouping
*/
$this->_useAnalyticFunction = true;
}
return parent::_renderFiltersBefore();
}
开发者ID:masterdef,项目名称:testimonials,代码行数:14,代码来源:Collection.php示例4: _renderFiltersBefore
protected function _renderFiltersBefore()
{
return parent::_renderFiltersBefore();
}
开发者ID:cabrerabywaters,项目名称:magentoSunshine,代码行数:4,代码来源:Collection.php本文标签属性:
示例:示例是什么意思
代码:代码转换器
PHP:php是什么
Mage_Core_Model_Mysql4_Collection_Abstract:Mage_Core_Model_Mysql4_Collection_Abstract
_renderFiltersBefore:_renderFiltersBefore