public getHasManyToMany (Phalcon\Mvc\ModelInterface $model) Gets hasManyToMany relations defined on a model
public existsBelongsTo (mixed $modelName, mixed $modelRelation) Checks whether a model has a belongsTo relation with another model
public getBelongsToRecords (mixed $method, mixed $modelName, mixed $modelRelation, Phalcon\Mvc\ModelInterface $record, [mixed $parameters]) Gets belongsTo related records from a model
public existsHasMany (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasMany relation with another model
public existsHasManyToMany (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasManyToMany relation with another model
public executeQuery (mixed $phql, [mixed $placeholders], [mixed $types]) Creates a Phalcon\Mvc\Model\Query and execute it
public existsHasOne (mixed $modelName, mixed $modelRelation) Checks whether a model has a hasOne relation with another model
public getBelongsTo (Phalcon\Mvc\ModelInterface $model) Gets all the belongsTo relations defined in a model $relations = $modelsManager->getBelongsTo(new Robots());
public Phalcon\Mvc\Model\Relation addHasOne (Phalcon\Mvc\Model $model, mixed $fields, string $referencedModel, mixed $referencedFields, [array $options]) Setup a 1-1 relation between two models
public createQuery (mixed $phql) Creates a Phalcon\Mvc\Model\Query without execute it
Page 155 of 382