Class \Prado\Data\ActiveRecord\Relations\TActiveRecordRelationContext
TActiveRecordRelationContext holds information regarding record relationships
such as record relation property name, query criteria and foreign object record
class names.
This class is use internally by passing a context to the TActiveRecordRelation constructor.
Class hierarchy
Author: Wei Zhuo <weizho[at]gmail[dot]com>Since: 3.1
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
getRelationHandler([null|TActiveRecordCriteria $criteria = null ]) : TActiveRecordRelation
Creates and return the TActiveRecordRelation handler for specific relationships.
An instance of TActiveRecordHasOne, TActiveRecordBelongsTo, TActiveRecordHasMany, or TActiveRecordHasManyAssocation will be returned. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|