master
init
public function init() { parent::init(); if (!isset($this->model)) { throw new InvalidParamException(Yii::t('vote', 'Model not configurated'));