Mvc\Model\Manager::createQuery

public createQuery (mixed $phql) Creates a Phalcon\Mvc\Model\Query without execute it

Mvc\Model\Manager::addHasManyToMany

public Phalcon\Mvc\Model\Relation addHasManyToMany (Phalcon\Mvc\ModelInterface $model, string $fields, string $intermediateModel, string $intermediateFields, string $intermediateReferencedFields, string $referencedModel, string $referencedFields, [array $options]) Setups a relation n-m between two models

Mvc\Model\Manager::addHasMany

public addHasMany (Phalcon\Mvc\ModelInterface $model, mixed $fields, string $referencedModel, mixed $referencedFields, [array $options]) Setup a relation 1-n between two models

Mvc\Model\Manager::createBuilder

public createBuilder ([mixed $params]) Creates a Phalcon\Mvc\Model\Query\Builder

Mvc\Model\Manager::addBehavior

public addBehavior (Phalcon\Mvc\ModelInterface $model, Phalcon\Mvc\Model\BehaviorInterface $behavior) Binds a behavior to a model

Mvc\Model\Manager

implements Phalcon\Mvc\Model\ManagerInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface Source on GitHub This components controls the initialization of models, keeping record of relations between the different models of the application. A ModelsManager is injected to a model via a Dependency Injector/Services Container such as Phalcon\Di. use Phalcon\Di; use Phalcon\Mvc\Model\Manager as ModelsManager; $di = new Di(); $di->set('modelsManager', function() {

Mvc\Model\Manager::addBelongsTo

public Phalcon\Mvc\Model\Relation addBelongsTo (Phalcon\Mvc\Model $model, mixed $fields, string $referencedModel, mixed $referencedFields, [array $options]) Setup a relation reverse many to one between two models

Mvc\Model\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Mvc\Model\CriteriaInterface::sharedLock

abstract public sharedLock ([mixed $sharedLock]) ...

Mvc\Model\CriteriaInterface::orWhere

abstract public orWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) ...