_defaults['status'] = Entity::STATUS_ACTIVE; return parent::init(); } protected function _initElements() { parent::_initElements(); $this->getElement('password')->setRequired(); $this->getElement('confirmPassword')->setRequired(); return $this; } }