コード例 #1
0
 /**
  * @since 4.8.1
  */
 protected function _construct()
 {
     if (!$this->hasName()) {
         $this->setName('default');
     }
     parent::_construct();
 }
コード例 #2
0
 /**
  * @since 4.8.1
  */
 public function hook()
 {
     $this->_hook();
     parent::hook();
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  *
  * @since 4.8.1
  * @param type $key
  * @param type $index
  * @return type
  */
 public function getData($key = '', $index = null)
 {
     if (!$this->isValuesLoaded() && !$this->_isValuesLoading()) {
         $this->_loadValues();
     }
     return parent::getData($key, $index);
 }
コード例 #4
0
 protected function _construct()
 {
     parent::_construct();
     $this->setIsKeepRecords(true);
 }