phalconplus Documentation v1.2.0
Class
Class PhalconPlus Contracts Auth Access

# ModelEvent

        namespace PhalconPlus\Contracts\Auth\Access;
    use Phalcon\Mvc\Model;
    use Phalcon\Events\Event;

    interface ModelEvent
    {
        public function beforeDelete( event,  model, var context = null) -> bool;
        public function beforeCreate( event,  model, var context = null) -> bool;
        public function beforeUpdate( event,  model, var context = null) -> bool;
        public function beforeValidation( event,  model, var context = null) -> bool;
    }