public setReadConnectionService (Phalcon\Mvc\ModelInterface $model, mixed $connectionService) Sets read connection service for a model
public setModelSource (Phalcon\Mvc\ModelInterface $model, mixed $source) Sets the mapped source for a model
public setModelSchema (Phalcon\Mvc\ModelInterface $model, mixed $schema) Sets the mapped schema for a model
public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets a global events manager
public setDI (Phalcon\DiInterface $dependencyInjector) Sets the DependencyInjector container
public setCustomEventsManager (Phalcon\Mvc\ModelInterface $model, Phalcon\Events\ManagerInterface $eventsManager) Sets a custom events manager for a specific model
public setConnectionService (Phalcon\Mvc\ModelInterface $model, mixed $connectionService) Sets both write and read connection service for a model
public registerNamespaceAlias (mixed $alias, mixed $namespaceName) Registers shorter aliases for namespaces in PHQL statements
public notifyEvent (mixed $eventName, Phalcon\Mvc\ModelInterface $model) Receives events generated in the models and dispatches them to an events-manager if available Notify the behaviors that are listening in the model
public missingMethod (Phalcon\Mvc\ModelInterface $model, mixed $eventName, mixed $data) Dispatch an event to the listeners and behaviors This method expects that the endpoint listeners/behaviors returns true meaning that a least one was implemented
Page 151 of 382