- Home
- About
- Testimonials
- Demos
- Download
- Documentation
- Blogs
- Forum
- Support

Packages:
System.IO
default
System.Web.UI
System.Web.UI.ActiveControls
System.Web.UI.WebControls
System.Web.UI.WebControls.assets
System.Web
System.Web.Services
System.Xml
System.Data.Common.Pgsql
System.Data.Common.Mssql
System.Data.Common
System.Data.Common.Mysql
System.Data.Commom.Sqlite
System.Data.Common.Oracle
System.Data.Common.Sqlite
System.Data
System.Data.ActiveRecord
System.Data.ActiveRecord.Relations
System.Data.ActiveReecord.Scaffold.InputBuilder
System.Data.ActiveRecord.Scaffold
System.Data.DataGateway
System.Data.SqlMap
System.Data.SqlMap.Statements
System.Data.SqlMap.Configuration
System.I18N
System.Util
System
System.Collections
System.Caching
System.Security
System.Exceptions
Classes:
TActiveRecordBelongsTo
TActiveRecordHasMany
TActiveRecordHasManyAssociation
TActiveRecordHasOne
TActiveRecordRelation
TActiveRecordRelationContext

Keyword

# Element index for package System.Data.ActiveRecord.Relations

[ c ] [ f ] [ g ] [ h ] [ i ] [ p ] [ s ] [ t ] [ u ] [ _ ]

## _

__call
  in file TActiveRecordRelation.php, method TActiveRecordRelation::__call()
  Dispatch the method calls to the source record finder object. When an instance of TActiveRecord or an array of TActiveRecord is returned the corresponding foreign objects are also fetched and assigned.
__construct
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::__construct()
__construct
  in file TActiveRecordRelation.php, method TActiveRecordRelation::__construct()

top

## c

collectForeignObjects
  in file TActiveRecordRelation.php, method TActiveRecordRelation::collectForeignObjects()
collectForeignObjects
  in file TActiveRecordBelongsTo.php, method TActiveRecordBelongsTo::collectForeignObjects()
  Get the foreign key index values from the results and make calls to the database to find the corresponding foreign objects.
collectForeignObjects
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::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.
collectForeignObjects
  in file TActiveRecordHasMany.php, method TActiveRecordHasMany::collectForeignObjects()
  Get the foreign key index values from the results and make calls to the database to find the corresponding foreign objects.
collectForeignObjects
  in file TActiveRecordHasOne.php, method TActiveRecordHasOne::collectForeignObjects()
  Get the foreign key index values from the results and make calls to the database to find the corresponding foreign objects.
createCommand
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::createCommand()
createFkObject
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::createFkObject()

top

## f

fetchForeignObjects
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::fetchForeignObjects()
  Fetches the foreign objects using TActiveRecord::findAllByIndex()
fetchResultsInto
  in file TActiveRecordRelation.php, method TActiveRecordRelation::fetchResultsInto()
  Fetch results for current relationship.
findForeignKeys
  in file TActiveRecordRelation.php, method TActiveRecordRelation::findForeignKeys()
  Returns foreign keys in $fromRecord with source column names as key and foreign column names in the corresponding $matchesRecord as value.
findForeignObjects
  in file TActiveRecordRelation.php, method TActiveRecordRelation::findForeignObjects()
  Fetches the foreign objects using TActiveRecord::findAllByIndex()

top

## g

getAssociationJoin
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getAssociationJoin()
  SQL inner join for M-N relationship via association table.
getAssociationTable
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getAssociationTable()
getAssociationTable
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getAssociationTable()
getAssociationTableCommandBuilder
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getAssociationTableCommandBuilder()
getCommandBuilder
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getCommandBuilder()
getCondition
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getCondition()
getContext
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getContext()
getCriteria
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getCriteria()
getFkField
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getFkField()
getForeignCommandBuilder
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getForeignCommandBuilder()
getForeignRecordClass
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getForeignRecordClass()
getForeignRecordFinder
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getForeignRecordFinder()
getForeignTable
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getForeignTable()
getIndexValues
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getIndexValues()
  Obtain the foreign key index values from the results.
getObjectHash
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getObjectHash()
getParameters
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getParameters()
getProperty
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getProperty()
getPropertyValue
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getPropertyValue()
getRelationForeignKeys
  in file TActiveRecordHasMany.php, method TActiveRecordHasMany::getRelationForeignKeys()
getRelationForeignKeys
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getRelationForeignKeys()
getRelationForeignKeys
  in file TActiveRecordBelongsTo.php, method TActiveRecordBelongsTo::getRelationForeignKeys()
getRelationForeignKeys
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getRelationForeignKeys()
getRelationForeignKeys
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getRelationForeignKeys()
getRelationForeignKeys
  in file TActiveRecordHasOne.php, method TActiveRecordHasOne::getRelationForeignKeys()
getRelationHandler
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getRelationHandler()
  Creates and return the TActiveRecordRelation handler for specific relationships.
getRelationType
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getRelationType()
getSourceColumns
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getSourceColumns()
getSourceRecord
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::getSourceRecord()
getSourceRecord
  in file TActiveRecordRelation.php, method TActiveRecordRelation::getSourceRecord()
getSourceTable
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::getSourceTable()

top

## h

hasAssociationTable
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::hasAssociationTable()
hasFkField
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::hasFkField()
hasRecordRelation
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::hasRecordRelation()

top

## i

isEmptyFkObject
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::isEmptyFkObject()

top

## p

populateResult
  in file TActiveRecordRelation.php, method TActiveRecordRelation::populateResult()
  Populate the results with the foreign objects found.

top

## s

setObjectProperty
  in file TActiveRecordRelation.php, method TActiveRecordRelation::setObjectProperty()
  Sets the foreign objects to the given property on the source object.
setObjectProperty
  in file TActiveRecordHasOne.php, method TActiveRecordHasOne::setObjectProperty()
  Sets the foreign objects to the given property on the source object.
setObjectProperty
  in file TActiveRecordBelongsTo.php, method TActiveRecordBelongsTo::setObjectProperty()
  Sets the foreign objects to the given property on the source object.
setResultCollection
  in file TActiveRecordRelation.php, method TActiveRecordRelation::setResultCollection()
  Populates the result array with foreign objects (matched using foreign key hashed property values).

top

## t

TActiveRecordBelongsTo.php
  procedural page TActiveRecordBelongsTo.php
TActiveRecordHasManyAssociation.php
  procedural page TActiveRecordHasManyAssociation.php
TActiveRecordHasMany.php
  procedural page TActiveRecordHasMany.php
TActiveRecordHasOne.php
  procedural page TActiveRecordHasOne.php
TActiveRecordRelationContext.php
  procedural page TActiveRecordRelationContext.php
TActiveRecordRelation.php
  procedural page TActiveRecordRelation.php
TActiveRecordBelongsTo
  in file TActiveRecordBelongsTo.php, class TActiveRecordBelongsTo
  Implements the foreign key relationship (TActiveRecord::BELONGS_TO) between the source objects and the related foreign object. Consider the entity relationship between a Team and a Player.
TActiveRecordHasMany
  in file TActiveRecordHasMany.php, class TActiveRecordHasMany
  Implements TActiveRecord::HAS_MANY relationship between the source object having zero or more foreign objects. Consider the entity relationship between a Team and a Player.
TActiveRecordHasManyAssociation
  in file TActiveRecordHasManyAssociation.php, class TActiveRecordHasManyAssociation
  Implements the M-N (many to many) relationship via association table.
TActiveRecordHasOne
  in file TActiveRecordHasOne.php, class TActiveRecordHasOne
  TActiveRecordHasOne models the object relationship that a record (the source object) property is an instance of foreign record object having a foreign key related to the source object. The HAS_ONE relation is very similar to the HAS_MANY relationship (in fact, it is equivalent in the entities relationship point of view).
TActiveRecordRelation
  in file TActiveRecordRelation.php, class TActiveRecordRelation
  Base class for active record relationships.
TActiveRecordRelationContext
  in file TActiveRecordRelationContext.php, class TActiveRecordRelationContext
  TActiveRecordRelationContext holds information regarding record relationships such as record relation property name, query criteria and foreign object record class names.

top

## u

updateAssociatedRecords
  in file TActiveRecordRelationContext.php, method TActiveRecordRelationContext::updateAssociatedRecords()
updateAssociatedRecords
  in file TActiveRecordHasOne.php, method TActiveRecordHasOne::updateAssociatedRecords()
  Updates the associated foreign objects.
updateAssociatedRecords
  in file TActiveRecordHasManyAssociation.php, method TActiveRecordHasManyAssociation::updateAssociatedRecords()
  Updates the associated foreign objects.
updateAssociatedRecords
  in file TActiveRecordHasMany.php, method TActiveRecordHasMany::updateAssociatedRecords()
  Updates the associated foreign objects.
updateAssociatedRecords
  in file TActiveRecordBelongsTo.php, method TActiveRecordBelongsTo::updateAssociatedRecords()
  Updates the source object first.

top