public write (string $key, array $data) Writes the metadata to XCache
public save ([int | string $keyName], [string $content], [long $lifetime], [boolean $stopBuffer]) Stores cached content into the file backend and stops the frontend
public flush () Immediately invalidates all existing items.
public array queryKeys ([string | int $prefix]) Query the existing cached keys
implements Phalcon\Mvc\Model\BehaviorInterface Source on GitHub This is an optional base class for ORM behaviors Methods public __construct ([array $options]) protected mustTakeAction (mixed $eventName) Checks whether the behavior must take action on certain event protected array getOptions ([string $eventName]) Returns the behavior options related to an event public notify (mixed $type, Phalcon\Mvc\ModelInterface $model) This method receives the notifications from the EventsManager public miss
implements Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface Source on GitHub This class allows to access services in the services container by just only accessing a public property with the same name of a registered service Methods public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector public getDI () Returns the internal dependency injector public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets the event manager public
integer OP_NONE
string OPERATOR_AND
public setSnapshotData (array $data, [array $columnMap]) Sets the record’s snapshot data. This method is used internally to set snapshot data when the model was set up to keep snapshot data
public string | array getWhere () Return the conditions for the query
Page 358 of 382