public function init() { parent::init(); if (!$this->module) { $this->module = Yii::$app->getModule('users'); } }