Esempio n. 1
0
 /**
  * Load default content from robots.txt if customer does not define own
  *
  * @return $this
  */
 protected function _afterLoad()
 {
     if (!(string) $this->getValue()) {
         $this->setValue($this->_getDefaultValue());
     }
     return parent::_afterLoad();
 }
Esempio n. 2
0
 /**
  * 2016-08-03
  * @override
  * @see \Magento\Framework\Model\AbstractModel::_afterLoad()
  * @used-by \Magento\Framework\Model\AbstractModel::load()
  * @return void
  */
 protected function _afterLoad()
 {
     parent::_afterLoad();
     self::setProcessed($this->getPath());
 }
Esempio n. 3
0
 /**
  * Processing object after load data
  *
  * @return $this
  */
 protected function _afterLoad()
 {
     // echo 'ulicica';
     return parent::_afterLoad();
 }