Mvc\Model\Behavior

Abstract class Phalcon\Mvc\Model\Behavior

implements Phalcon\Mvc\Model\BehaviorInterface

This is an optional base class for ORM behaviors

Methods

public __construct ([array $options])

protected mustTakeAction ()

Checks whether the behavior must take action on certain event

protected array getOptions ()

Returns the behavior options related to an event

public notify (string $type, Phalcon\Mvc\ModelInterface $mo