public getCustomEventsManager (Phalcon\Mvc\ModelInterface $model) Returns a custom events manager related to a model
public getBelongsToRecords (mixed $method, mixed $modelName, mixed $modelRelation, Phalcon\Mvc\ModelInterface $record, [mixed $parameters]) Gets belongsTo related records from a model
public getBelongsTo (Phalcon\Mvc\ModelInterface $model) Gets all the belongsTo relations defined in a model $relations = $modelsManager->getBelongsTo(new Robots());
public existsHasOne (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasOne relation with another model
public existsHasManyToMany (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasManyToMany relation with another model
public existsHasMany (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasMany relation with another model
public existsBelongsTo (mixed $modelName, mixed $modelRelation) Checks whether a model has a belongsTo relation with another model
public executeQuery (mixed $phql, [mixed $placeholders], [mixed $types]) Creates a Phalcon\Mvc\Model\Query and execute it
public createQuery (mixed $phql) Creates a Phalcon\Mvc\Model\Query without execute it
public createBuilder ([mixed $params]) Creates a Phalcon\Mvc\Model\Query\Builder
Page 155 of 382