当前位置: 首页>>代码示例>>PHP>>正文


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怎么用?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;
 }
开发者ID:webmaster4world,项目名称:manual-indexing,代码行数:7,代码来源:Collection.php

示例2: load

 public function load($printQuery = false, $logQuery = false)
 {
     if ($this->_addSubscribersFlag && !$this->isLoaded()) {
         $this->_addSubscriberInfoToSelect();
     }
     return parent::load($printQuery, $logQuery);
 }
开发者ID:votanlean,项目名称:Magento-Pruebas,代码行数:7,代码来源:Collection.php

示例3: load

 public function load($printQuery = false, $logQuery = false)
 {
     if (!$this->_loadDefault) {
         $this->setWithoutDefaultFilter();
     }
     return parent::load($printQuery, $logQuery);
 }
开发者ID:arslbbt,项目名称:mangentovies,代码行数:7,代码来源:Collection.php

示例4: load

 public function load($printQuery = false, $logQuery = false)
 {
     parent::load($printQuery, $logQuery);
     if ($this->_subscribersInfoJoinedFlag && !$this->isLoaded()) {
         $this->_addCustomersData();
     }
     return $this;
 }
开发者ID:arslbbt,项目名称:mangentovies,代码行数:8,代码来源:Collection.php

示例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;
 }
开发者ID:arslbbt,项目名称:mangentovies,代码行数:8,代码来源:Collection.php

示例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);
 }
开发者ID:jauderho,项目名称:magento-mirror,代码行数:8,代码来源:Collection.php

示例7: load

 public function load($printQuery = false, $logQuery = false)
 {
     if ($this->isLoaded()) {
         return $this;
     }
     parent::load($printQuery, $logQuery);
     return $this;
 }
开发者ID:hunnybohara,项目名称:magento-chinese-localization,代码行数:8,代码来源:Collection.php

示例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;
 }
开发者ID:jauderho,项目名称:magento-mirror,代码行数:9,代码来源:Collection.php

示例9: load

 public function load($printQuery = false, $logQuery = false)
 {
     if ($this->isLoaded()) {
         return $this;
     }
     $this->addOrderTotalField();
     parent::load($printQuery, $logQuery);
     return $this;
 }
开发者ID:joebushi,项目名称:magento-mirror,代码行数:9,代码来源:Collection.php

示例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;
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:11,代码来源:Mysql4_Attribute_Collection.php

示例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;
 }
开发者ID:ronseigel,项目名称:agent-ohm,代码行数:11,代码来源:Mysql4_Tag_Collection.php

示例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);
 }
开发者ID:jokusafet,项目名称:MagentoSource,代码行数:5,代码来源:Abstract.php

示例13: load

 public function load($printQuery = false, $logQuery = false)
 {
     //$this->_beforeLoad();
     return parent::load($printQuery, $logQuery);
 }
开发者ID:hueyl77,项目名称:fourwindsgear,代码行数:5,代码来源:Collection.php

示例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);
 }
开发者ID:jpbender,项目名称:mage_virtual,代码行数:12,代码来源:Collection.php

示例15: load

 public function load($printQuery = false, $logQuery = false)
 {
     $this->setOrder('ordering', self::SORT_ORDER_ASC);
     return parent::load($printQuery . $logQuery);
 }
开发者ID:praxigento,项目名称:mage_app_prxgt_store,代码行数:5,代码来源:Collection.php


注:本文中的Mage_Core_Model_Mysql4_Collection_Abstract::load方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。