/** * Creates the model * * @return \MUtil_Model_ModelAbstract */ protected function createModel() { if (!$this->model instanceof \Gems_Model_StaffModel) { $this->model = $this->loader->getModels()->getStaffModel(false); $this->model->applyOwnAccountEdit(); } return $this->model; }