Documentation

Table Of Contents

Previous topic

< Abstract class Phalcon\Mvc\Model

Next topic

Class Phalcon\Mvc\Model\Behavior\SoftDelete >

This Page

Abstract class Phalcon\Mvc\Model\Behavior

This is an optional base class for ORM behaviors

Methods

public __construct ([unknown $options])

protected mustTakeAction (unknown $eventName)

Checks whether the behavior must take action on certain event

protected array getOptions ([unknown $eventName])

Returns the behavior options related to an event

public notify (unknown $type, unknown $model)

This method receives the notifications from the EventsManager

public missingMethod (unknown $model, unknown $method, [unknown $arguments])

Acts as fallbacks when a missing method is called on the model

Follow along: