本文整理汇总了PHP中Mage_Core_Model_Mysql4_Collection_Abstract::load方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Model_Mysql4_Collection_Abstract::load方法的具体用法?PHP Mage_Core_Model_Mysql4_Collection_Abstract::load怎么用?PHP Mage_Core_Model_Mysql4_Collection_Abstract::load使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Core_Model_Mysql4_Collection_Abstract
的用法示例。
在下文中一共展示了Mage_Core_Model_Mysql4_Collection_Abstract::load方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: load
public function load($printQuery = false, $logQuery = false)
{
Varien_Profiler::start("aw::advancedreports::aggregator::load_collection");
parent::load($printQuery, $logQuery);
Varien_Profiler::stop("aw::advancedreports::aggregator::load_collection");
return $this;
}
示例2: load
public function load($printQuery = false, $logQuery = false)
{
if ($this->_addSubscribersFlag && !$this->isLoaded()) {
$this->_addSubscriberInfoToSelect();
}
return parent::load($printQuery, $logQuery);
}
示例3: load
public function load($printQuery = false, $logQuery = false)
{
if (!$this->_loadDefault) {
$this->setWithoutDefaultFilter();
}
return parent::load($printQuery, $logQuery);
}
示例4: load
public function load($printQuery = false, $logQuery = false)
{
parent::load($printQuery, $logQuery);
if ($this->_subscribersInfoJoinedFlag && !$this->isLoaded()) {
$this->_addCustomersData();
}
return $this;
}
示例5: load
public function load($printQuery = false, $logQuery = false)
{
if (!$this->getLoadDefault()) {
$this->getSelect()->where($this->getConnection()->quoteInto('main_table.website_id>?', 0));
}
parent::load($printQuery, $logQuery);
return $this;
}
示例6: load
public function load($printQuery = false, $logQuery = false)
{
if (!$this->_loadDefault) {
$this->setWithoutDefaultFilter();
}
$this->addOrder('main_table.name', 'ASC');
return parent::load($printQuery, $logQuery);
}
示例7: load
public function load($printQuery = false, $logQuery = false)
{
if ($this->isLoaded()) {
return $this;
}
parent::load($printQuery, $logQuery);
return $this;
}
示例8: load
public function load($printQuery = false, $logQuery = false)
{
if (!$this->getLoadDefault()) {
$this->getSelect()->where($this->getConnection()->quoteInto('main_table.website_id>?', 0));
}
$this->unshiftOrder('main_table.name', 'ASC')->unshiftOrder('main_table.sort_order', 'ASC');
parent::load($printQuery, $logQuery);
return $this;
}
示例9: load
public function load($printQuery = false, $logQuery = false)
{
if ($this->isLoaded()) {
return $this;
}
$this->addOrderTotalField();
parent::load($printQuery, $logQuery);
return $this;
}
示例10: load
public function load($printQuery = false, $logQuery = false)
{
if ($this->isLoaded()) {
return $this;
}
if ($this->getJoinAttributeSetFlag()) {
$this->_joinAttributeSet();
}
parent::load($printQuery, $logQuery);
return $this;
}
示例11: load
public function load($printQuery = false, $logQuery = false)
{
if ($this->isLoaded()) {
return $this;
}
parent::load($printQuery, $logQuery);
if ($this->getJoinFlag('add_stores_after')) {
$this->_addStoresVisibility();
}
return $this;
}
示例12: load
public function load($printQuery = false, $logQuery = false)
{
$this->getSelect()->where("post_type = ?", 'attachment')->where("post_mime_type LIKE 'image%'");
return parent::load($printQuery, $logQuery);
}
示例13: load
public function load($printQuery = false, $logQuery = false)
{
//$this->_beforeLoad();
return parent::load($printQuery, $logQuery);
}
示例14: load
/**
* Load data
*
* @return Varien_Data_Collection_Db
*/
public function load($printQuery = false, $logQuery = false)
{
if (!$this->isLoaded()) {
$this->getSelect()->joinInner(array('_products_table' => $this->getTable('catalog/product')), 'main_table.product_id=_products_table.entity_id', 'type_id');
}
return parent::load($printQuery, $logQuery);
}
示例15: load
public function load($printQuery = false, $logQuery = false)
{
$this->setOrder('ordering', self::SORT_ORDER_ASC);
return parent::load($printQuery . $logQuery);
}