createRelationContext()
protected method
Gets a static copy of the relationship context for given property (a key
in $RELATIONS), returns null if invalid relationship. Keeps a null
reference to all invalid relations called.
protected createRelationContext ( $name ) : TActiveRecordRelationContext |
return |
Prado\Data\ActiveRecord\Relations\TActiveRecordRelationContext |
object containing information on
the active record relationships for given property, null if invalid relationship |