Class Finder
Inheritance: TActiveRecordRelation »
Properties
Events
Methods
 NameDescription
P collectForeignObjects Get the foreign key index values from the results and make calls to the database to find the corresponding foreign objects using association table.
  createCommand .
P createFkObject .
P fetchForeignObjects Fetches the foreign objects using TActiveRecord::findAllByIndex() .
  fetchResultsInto Fetch results for current relationship. (inherited from TActiveRecordRelation)
P findForeignKeys Returns foreign keys in $fromRecord with source column names as key and foreign column names in the corresponding $matchesRecord as value. (inherited from TActiveRecordRelation)
P findForeignObjects Fetches the foreign objects using TActiveRecord::findAllByIndex() . (inherited from TActiveRecordRelation)
P getAssociationJoin SQL inner join for M-N relationship via association table.
P getAssociationTable association table information.
P getAssociationTableCommandBuilder .
P getCommandBuilder .
P getContext . (inherited from TActiveRecordRelation)
P getCriteria . (inherited from TActiveRecordRelation)
P getForeignCommandBuilder .
P getForeignTable foreign table information.
P getIndexValues Obtain the foreign key index values from the results. (inherited from TActiveRecordRelation)
P getObjectHash object hash using crc32 and serialize. (inherited from TActiveRecordRelation)
  getRelationForeignKeys 2 arrays of source keys and foreign keys from the association table.
P getSourceColumns comma separated source column names.
P getSourceRecord . (inherited from TActiveRecordRelation)
P getSourceTable source table information.
P populateResult Populate the results with the foreign objects found. (inherited from TActiveRecordRelation)
P setObjectProperty Sets the foreign objects to the given property on the source object. (inherited from TActiveRecordRelation)
P setResultCollection Populates the result array with foreign objects (matched using foreign key hashed property values). (inherited from TActiveRecordRelation)
  updateAssociatedRecords Updates the associated foreign objects.
Derived classes