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


PHP Mage_Core_Model_Config_Data::_afterLoad方法代码示例

本文整理汇总了PHP中Mage_Core_Model_Config_Data::_afterLoad方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Model_Config_Data::_afterLoad方法的具体用法?PHP Mage_Core_Model_Config_Data::_afterLoad怎么用?PHP Mage_Core_Model_Config_Data::_afterLoad使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Mage_Core_Model_Config_Data的用法示例。


在下文中一共展示了Mage_Core_Model_Config_Data::_afterLoad方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _afterLoad

 /**
  * Send only the Checksum part of the Site Id Checksum Field.
  * @return self
  */
 protected function _afterLoad()
 {
     parent::_afterLoad();
     list($justTheHash, ) = Mage::helper('eems_display')->splitSiteIdChecksumField($this->getOldValue());
     $this->setValue($justTheHash);
     return $this;
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:11,代码来源:Siteidchecksum.php

示例2: _afterLoad

 /**
  * if we dont' have a value yet retrieve a starting value from
  * the default config xml configuration
  *
  * @return Fooman_PdfCustomiser_Model_Backend_Pdftotal
  */
 protected function _afterLoad()
 {
     if ($this->getValue() == '') {
         $this->setValue((string) Mage::getConfig()->getNode($this->_getGlobalConfigPath()));
     }
     return parent::_afterLoad();
 }
开发者ID:AleksNesh,项目名称:pandora,代码行数:13,代码来源:PdfTotal.php

示例3: _afterLoad

 /**
  * Check permission to read product prices before the value is shown to user
  *
  * @return Enterprise_PricePermossions_Model_System_Config_Backend_Catalog_Product_Price_Default
  */
 protected function _afterLoad()
 {
     parent::_afterLoad();
     if (!Mage::helper('enterprise_pricepermissions')->getCanAdminReadProductPrice()) {
         $this->setValue(null);
     }
     return $this;
 }
开发者ID:hientruong90,项目名称:ee_14_installer,代码行数:13,代码来源:Default.php

示例4: _afterLoad

 /**
  * Processing object after load data
  *
  * @return Mage_Core_Model_Abstract
  */
 protected function _afterLoad()
 {
     $value = $this->getValue();
     if (!preg_match('#^{{((un)?secure_)?base_url}}#', $value)) {
         $value = Mage::helper('core/url')->decodePunycode($value);
     }
     $this->setValue($value);
     return parent::_afterLoad();
 }
开发者ID:chucky515,项目名称:Magento-CE-Mirror,代码行数:14,代码来源:Baseurl.php

示例5: _afterLoad

 /**
  * Take the current configuration view and append the Display Feed frontName
  * to present a complete route
  */
 protected function _afterLoad()
 {
     parent::_afterLoad();
     $storeId = Mage::helper('eems_display')->getStoreIdForCurrentAdminScope();
     $siteId = Mage::helper('eems_display/config')->getSiteId($storeId);
     if (empty($siteId)) {
         $this->setValue('');
     } else {
         $this->setValue(Mage::helper('eems_display')->getProductFeedUrl($storeId));
     }
     return $this;
 }
开发者ID:xiaoguizhidao,项目名称:magento,代码行数:16,代码来源:Feedurl.php

示例6: _afterLoad

 /**
  * 
  */
 protected function _afterLoad()
 {
     $__result = parent::_afterLoad();
     $this->setValue((string) $this->getValue());
     $__shadowString = Mage::getModel('activitystream/shadowString');
     $__shadowString->setValue($this->getValue());
     if (strlen($this->getValue()) == 0) {
         $__shadowString->setShadowValue(Mage::getStoreConfig($this->__getReservationPath(), $this->getStore()));
     }
     $this->setValue($__shadowString);
     return $__result;
 }
开发者ID:ashfaqphplhr,项目名称:artificiallawnsforturf,代码行数:15,代码来源:AdminhtmlSystemConfigBackendTurnable.php

示例7: _afterLoad

 protected function _afterLoad()
 {
     $status = Mage::getModel('helpdeskultimate/status')->load('admin', 'status_type');
     $this->setValue($status->getLabel());
     parent::_afterLoad();
 }
开发者ID:praxigento,项目名称:mage_app_prxgt_store,代码行数:6,代码来源:Statusbyadmin.php

示例8: _afterLoad

 protected function _afterLoad()
 {
     $this->setValue(str_replace(",", "\n", $this->getValue()));
     return parent::_afterLoad();
 }
开发者ID:shebin512,项目名称:Magento_Zoff,代码行数:5,代码来源:ExcludeList.php

示例9: _afterLoad

 /**
  * Unserialize
  */
 protected function _afterLoad()
 {
     parent::_afterLoad();
     $this->setValue(unserialize($this->getValue()));
 }
开发者ID:technomagegithub,项目名称:colb2b,代码行数:8,代码来源:Minigrid.php

示例10: _afterLoad

 protected function _afterLoad()
 {
     $statuses = Mage::getModel('helpdeskultimate/status')->getCollection();
     if (($storeId = $this->getStoreId()) !== null) {
         $statuses->addStoreFilter($storeId);
     }
     $labels = array();
     foreach ($statuses as $status) {
         $labels[] = $status->getLabel();
     }
     $this->setValue(implode(", ", $labels));
     parent::_afterLoad();
 }
开发者ID:praxigento,项目名称:mage_app_prxgt_store,代码行数:13,代码来源:Status.php

示例11: _afterLoad

 /**
  * unserialize values after load
  * @return Mage_Core_Model_Abstract|void
  */
 public function _afterLoad()
 {
     parent::_afterLoad();
     $value = $this->getCoreHelper()->jsonDecode($this->getValue());
     $this->setValue($value);
 }
开发者ID:santhosh400,项目名称:ecart,代码行数:10,代码来源:Attribute.php


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