Example #1
0
 /**
  * @throws InvalidParamException
  */
 protected function initInstance()
 {
     parent::initInstance();
     if ($this->setScenario) {
         $this->_instance->scenario = self::SCENARIO_IMPORT;
     }
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->sortStandardAttributes();
     $this->fillStandardAttributesColumns();
 }