Mvc\Model\Relation::getOption
  • References/PHP/Phalcon/Mvc/Model/Relation

public getOption (mixed $name) Returns an option by the specified name If the option doesn’t exist null is returned

2025-01-10 15:47:30
Mvc\Model\Relation::isForeignKey
  • References/PHP/Phalcon/Mvc/Model/Relation

public isForeignKey () Check whether the relation act as a foreign key

2025-01-10 15:47:30
Mvc\Model\Relation::ACTION_RESTRICT
  • References/PHP/Phalcon/Mvc/Model/Relation

integer ACTION_RESTRICT

2025-01-10 15:47:30
Mvc\Model\Relation::getReferencedFields
  • References/PHP/Phalcon/Mvc/Model/Relation

public string | array getReferencedFields () Returns the referenced fields

2025-01-10 15:47:30
Mvc\Model\Relation::isReusable
  • References/PHP/Phalcon/Mvc/Model/Relation

public isReusable () Check if records returned by getting belongs-to/has-many are implicitly cached during the current request

2025-01-10 15:47:30
Mvc\Model\Relation::isThrough
  • References/PHP/Phalcon/Mvc/Model/Relation

public isThrough () Check whether the relation is a ‘many-to-many’ relation or not

2025-01-10 15:47:30
Mvc\Model\Relation::getIntermediateModel
  • References/PHP/Phalcon/Mvc/Model/Relation

public getIntermediateModel () Gets the intermediate model for has-*-through relations

2025-01-10 15:47:30
Mvc\Model\Relation::getParams
  • References/PHP/Phalcon/Mvc/Model/Relation

public array getParams () Returns parameters that must be always used when the related records are obtained

2025-01-10 15:47:30
Mvc\Model\Relation
  • References/PHP/Phalcon/Mvc/Model/Relation

implements Phalcon\Mvc\Model\Relatio

2025-01-10 15:47:30
Mvc\Model\Relation::NO_ACTION
  • References/PHP/Phalcon/Mvc/Model/Relation

integer NO_ACTION

2025-01-10 15:47:30