public function beforeCreate()
    {
        $this->timestamp_create = time();
        $this->timestamp_update = 0;
        $this->create_user_id = Module::getAuthorUserId();
        $this->update_user_id = Module::getAuthorUserId();
        $this->slugifyAlias();
    }
public function beforeCreate()
    {
        $this->timestamp_create = time();
        $this->timestamp_update = 0;
        $this->create_user_id = Module::getAuthorUserId();
        $this->update_user_id = Module::getAuthorUserId();
        $this->slugifyAlias();
    }
public function beforeCreate ( ) { $ this -> timestamp_create = time ( ) ; $ this -> timestamp_update = 0 ; $ this -> create_user_id = Module :: getAuthorUserId ( ) ; $ this -> update_user_id = Module :: getAuthorUserId ( ) ; $ this -> slugifyAlias ( ) ; }
Before create event.
Before create event .