public function beforeSave()
    {
        $this->getRecord()->active = 0;
        $this->getRecord()->cmsAuthIdReply = \App\Registry::$auth->getId();
        return true;
    }
public function beforeSave()
    {
        $this->getRecord()->active = 0;
        $this->getRecord()->cmsAuthIdReply = \App\Registry::$auth->getId();
        return true;
    }
public function beforeSave ( ) { $ this -> getRecord ( ) -> active = 0 ; $ this -> getRecord ( ) -> cmsAuthIdReply = \ App \ Registry :: $ auth -> getId ( ) ; return true ; }
Ustawienie opcji przed zapisem
@return boolean
Ustawienie opcji przed zapisem