/**
  * @since 4.8.1
  */
 protected function _construct()
 {
     if (!$this->hasName()) {
         $this->setName('default');
     }
     parent::_construct();
 }
 /**
  * @since 4.8.1
  */
 public function hook()
 {
     $this->_hook();
     parent::hook();
 }
 /**
  * {@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);
 }
 protected function _construct()
 {
     parent::_construct();
     $this->setIsKeepRecords(true);
 }