Documentation

目次

前のトピックへ

< Abstract class Phalcon\Mvc\Model

次のトピックへ

Class Phalcon\Mvc\Model\Behavior\SoftDelete >

このページ

Abstract class Phalcon\Mvc\Model\Behavior

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 $model)

This method receives the notifications from the EventsManager

public missingMethod (Phalcon\Mvc\ModelInterface $model, string $method, [array $arguments])

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