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:
Keyword

Element index for package System.Data.ActiveRecord

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ x ] [ _ ]

_

$_connection
in file TActiveRecord.php, variable TActiveRecord::$_connection
$_invalidFinderResult
in file TActiveRecord.php, variable TActiveRecord::$_invalidFinderResult
    Defaults to 'null'
$_recordState
in file TActiveRecord.php, variable TActiveRecord::$_recordState
__call
in file TActiveRecord.php, method TActiveRecord::__call()
    Dynamic find method using parts of method name as search criteria.
__construct
in file TActiveRecordGateway.php, method TActiveRecordGateway::__construct()
    Record gateway constructor.
__construct
in file TActiveRecord.php, method TActiveRecord::__construct()
    Create a new instance of an active record with given $data. The record can be saved to the database specified by the $connection object.
__get
in file TActiveRecord.php, method TActiveRecord::__get()
    Magic method for reading properties.
__set
in file TActiveRecord.php, method TActiveRecord::__set()
    Magic method for writing properties.
__sleep
in file TActiveRecord.php, method TActiveRecord::__sleep()
    Prevent __call() method creating __sleep() when serializing.
__wakeup
in file TActiveRecord.php, method TActiveRecord::__wakeup()
    Prevent __call() method creating __wakeup() when unserializing.
top

a

HAS_MANY
in file TActiveRecord.php, class constant TActiveRecord::HAS_MANY
HAS_ONE
in file TActiveRecord.php, class constant TActiveRecord::HAS_ONE
MANY_TO_MANY
in file TActiveRecord.php, class constant TActiveRecord::MANY_TO_MANY
TABLE_CONST
in file TActiveRecordGateway.php, class constant TActiveRecordGateway::TABLE_CONST
    Constant name for specifying optional table name in TActiveRecord.
TABLE_METHOD
in file TActiveRecordGateway.php, class constant TActiveRecordGateway::TABLE_METHOD
    Method name for returning optional table name in in TActiveRecord
top

c

$COLUMN_MAPPING
in file TActiveRecord.php, variable TActiveRecord::$COLUMN_MAPPING
    This static variable defines the column mapping.
copyFrom
in file TActiveRecord.php, method TActiveRecord::copyFrom()
    Copies data from an array or another object.
count
in file TActiveRecord.php, method TActiveRecord::count()
    Find the number of records.
countRecords
in file TActiveRecordGateway.php, method TActiveRecordGateway::countRecords()
    Returns the number of records that match the given criteria.
createRecord
in file TActiveRecord.php, method TActiveRecord::createRecord()
    Create an AR instance specified by the AR class name and initial data.
createRecordGateway
in file TActiveRecordManager.php, method TActiveRecordManager::createRecordGateway()
createRelationContext
in file TActiveRecord.php, method TActiveRecord::createRelationContext()
    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.
top

d

delete
in file TActiveRecordGateway.php, method TActiveRecordGateway::delete()
    Delete the record.
delete
in file TActiveRecord.php, method TActiveRecord::delete()
    Deletes the current record from the database. Once deleted, this object can not be saved again in the same instance.
deleteAll
in file TActiveRecord.php, method TActiveRecord::deleteAll()
    Delete multiple records using a criteria.
deleteAllByPks
in file TActiveRecord.php, method TActiveRecord::deleteAllByPks()
    Alias for deleteByPk()
deleteByPk
in file TActiveRecord.php, method TActiveRecord::deleteByPk()
    Delete records by primary key. Usage:
deleteRecordsByCriteria
in file TActiveRecordGateway.php, method TActiveRecordGateway::deleteRecordsByCriteria()
    Delete multiple records by criteria.
deleteRecordsByPk
in file TActiveRecordGateway.php, method TActiveRecordGateway::deleteRecordsByPk()
    Delete multiple records using primary keys.
top

e

BELONGS_TO
in file TActiveRecord.php, class constant TActiveRecord::BELONGS_TO
equals
in file TActiveRecord.php, method TActiveRecord::equals()
    Compare two records using their primary key values (all column values if table does not defined primary keys). The default uses simple == for comparison of their values. Set $strict=true for identity comparison (===).
top

f

fetchResultsFor
in file TActiveRecord.php, method TActiveRecord::fetchResultsFor()
    Tries to load the relationship results for the given property. The $property value should correspond to an entry key in the $RELATION array.
find
in file TActiveRecord.php, method TActiveRecord::find()
    Find one single record that matches the criteria.
findAll
in file TActiveRecord.php, method TActiveRecord::findAll()
    Same as find() but returns an array of objects.
findAllByIndex
in file TActiveRecord.php, method TActiveRecord::findAllByIndex()
    Fetches records using the sql clause "(fields) IN (values)", where fields is an array of column names and values is an array of values that the columns must have.
findAllByPks
in file TActiveRecord.php, method TActiveRecord::findAllByPks()
    Find multiple records matching a list of primary or composite keys.
findAllBySql
in file TActiveRecord.php, method TActiveRecord::findAllBySql()
    Find records using full SQL, returns corresponding record object.
findByPk
in file TActiveRecord.php, method TActiveRecord::findByPk()
    Find one record using only the primary key or composite primary keys. Usage:
findBySql
in file TActiveRecord.php, method TActiveRecord::findBySql()
    Find records using full SQL, returns corresponding record object.
finder
in file TActiveRecord.php, method TActiveRecord::finder()
    Returns the instance of a active record finder for a particular class.
findRecordByPK
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordByPK()
    Returns record data matching the given primary key(s). If the table uses composite key, specify the name value pairs as an array.
findRecordBySql
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordBySql()
    Return record data from sql query.
findRecordsByCriteria
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordsByCriteria()
    Returns record data matching the given critera. If $iterator is true, it will return multiple rows as TDbDataReader otherwise it returns the first row data.
findRecordsByIndex
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordsByIndex()
findRecordsByPks
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordsByPks()
    Returns records matching the list of given primary keys.
findRecordsBySql
in file TActiveRecordGateway.php, method TActiveRecordGateway::findRecordsBySql()
    Return record data from sql query.
top

g

getActiveDbConnection
in file TActiveRecord.php, method TActiveRecord::getActiveDbConnection()
getCache
in file TActiveRecordManager.php, method TActiveRecordManager::getCache()
getColumnValue
in file TActiveRecord.php, method TActiveRecord::getColumnValue()
    Retrieves the column value according to column name.
getCommand
in file TActiveRecordGateway.php, method TActiveRecordGateway::getCommand()
getDbConnection
in file TActiveRecordManager.php, method TActiveRecordManager::getDbConnection()
getDbConnection
in file TActiveRecord.php, method TActiveRecord::getDbConnection()
    Gets the current Db connection, the connection object is obtained from the TActiveRecordManager if connection is currently null.
getEnableCache
in file TActiveRecordConfig.php, method TActiveRecordConfig::getEnableCache()
getErrorMessageFile
in file TActiveRecordException.php, method TActiveRecordException::getErrorMessageFile()
getInsertValues
in file TActiveRecordGateway.php, method TActiveRecordGateway::getInsertValues()
getInstance
in file TActiveRecordManager.php, method TActiveRecordManager::getInstance()
getInvalidFinderResult
in file TActiveRecordManager.php, method TActiveRecordManager::getInvalidFinderResult()
getInvalidFinderResult
in file TActiveRecordConfig.php, method TActiveRecordConfig::getInvalidFinderResult()
getInvalidFinderResult
in file TActiveRecord.php, method TActiveRecord::getInvalidFinderResult()
getIsValid
in file TActiveRecord.php, method TActiveRecordChangeEventParameter::getIsValid()
getManager
in file TActiveRecordGateway.php, method TActiveRecordGateway::getManager()
getPrimaryKeyValues
in file TActiveRecordGateway.php, method TActiveRecordGateway::getPrimaryKeyValues()
getRecordCriteria
in file TActiveRecord.php, method TActiveRecord::getRecordCriteria()
    Create a new TSqlCriteria object from a string $criteria. The $args are additional parameters and are used in place of the $parameters if $parameters is not an array and $args is an arrary.
getRecordGateway
in file TActiveRecord.php, method TActiveRecord::getRecordGateway()
getRecordGateway
in file TActiveRecordManager.php, method TActiveRecordManager::getRecordGateway()
getRecordManager
in file TActiveRecord.php, method TActiveRecord::getRecordManager()
    Gets the record manager for this object, the default is to call TActiveRecordManager::getInstance().
getRecordRelation
in file TActiveRecord.php, method TActiveRecord::getRecordRelation()
getRecordRelations
in file TActiveRecord.php, method TActiveRecord::getRecordRelations()
getRecordTableInfo
in file TActiveRecordGateway.php, method TActiveRecordGateway::getRecordTableInfo()
    Returns table information, trys the application cache first.
getRecordTableInfo
in file TActiveRecord.php, method TActiveRecord::getRecordTableInfo()
getRecordTableName
in file TActiveRecordGateway.php, method TActiveRecordGateway::getRecordTableName()
    Gets the table name from the 'TABLE' constant of the active record class if defined, otherwise use the class name as table name.
getRelationHandler
in file TActiveRecord.php, method TActiveRecord::getRelationHandler()
    Returns the active record relationship handler for $RELATION with key value equal to the $property value.
getTableInfo
in file TActiveRecordGateway.php, method TActiveRecordGateway::getTableInfo()
    Returns table information for table in the database connection.
getUpdateValues
in file TActiveRecordGateway.php, method TActiveRecordGateway::getUpdateValues()
top

h

hasRecordRelation
in file TActiveRecord.php, method TActiveRecord::hasRecordRelation()
top

i

init
in file TActiveRecordConfig.php, method TActiveRecordConfig::init()
    Initialize the active record manager.
insert
in file TActiveRecordGateway.php, method TActiveRecordGateway::insert()
    Insert a new record.
top

o

onCreateCommand
in file TActiveRecord.php, method TActiveRecord::onCreateCommand()
    Raised when a command is prepared and parameter binding is completed.
onCreateCommand
in file TActiveRecordGateway.php, method TActiveRecordGateway::onCreateCommand()
    Raised when a command is prepared and parameter binding is completed.
onDelete
in file TActiveRecord.php, method TActiveRecord::onDelete()
    Raised before the record attempt to delete its data from the database.
onExecuteCommand
in file TActiveRecordGateway.php, method TActiveRecordGateway::onExecuteCommand()
    Raised when a command is executed and the result from the database was returned.
onExecuteCommand
in file TActiveRecord.php, method TActiveRecord::onExecuteCommand()
    Raised when a command is executed and the result from the database was returned.
onInsert
in file TActiveRecord.php, method TActiveRecord::onInsert()
    Raised before the record attempt to insert its data into the database.
onUpdate
in file TActiveRecord.php, method TActiveRecord::onUpdate()
    Raised before the record attempt to update its data in the database.
top

p

populateObject
in file TActiveRecord.php, method TActiveRecord::populateObject()
    Populates a new record with the query result.
populateObjects
in file TActiveRecord.php, method TActiveRecord::populateObjects()
top

r

$RELATIONS
in file TActiveRecord.php, variable TActiveRecord::$RELATIONS
    This static variable defines the relationships.
raiseCommandEvent
in file TActiveRecordGateway.php, method TActiveRecordGateway::raiseCommandEvent()
    Raise the corresponding command event, insert, update, delete or select.
top

s

save
in file TActiveRecord.php, method TActiveRecord::save()
    Saves the current record to the database, insert or update is automatically determined.
setCache
in file TActiveRecordManager.php, method TActiveRecordManager::setCache()
setColumnValue
in file TActiveRecord.php, method TActiveRecord::setColumnValue()
    Sets the column value according to column name.
setDbConnection
in file TActiveRecordManager.php, method TActiveRecordManager::setDbConnection()
setDbConnection
in file TActiveRecord.php, method TActiveRecord::setDbConnection()
setEnableCache
in file TActiveRecordConfig.php, method TActiveRecordConfig::setEnableCache()
    Set true to cache the table meta data.
setInvalidFinderResult
in file TActiveRecordManager.php, method TActiveRecordManager::setInvalidFinderResult()
    Define the way an active record finder react if an invalid magic-finder invoked
setInvalidFinderResult
in file TActiveRecord.php, method TActiveRecord::setInvalidFinderResult()
    Define the way an active record finder react if an invalid magic-finder invoked
setInvalidFinderResult
in file TActiveRecordConfig.php, method TActiveRecordConfig::setInvalidFinderResult()
    Define the way an active record finder react if an invalid magic-finder invoked
setIsValid
in file TActiveRecord.php, method TActiveRecordChangeEventParameter::setIsValid()
top

t

TActiveRecordException.php
procedural page TActiveRecordException.php
TActiveRecordConfig.php
procedural page TActiveRecordConfig.php
TActiveRecordCriteria.php
procedural page TActiveRecordCriteria.php
TActiveRecordGateway.php
procedural page TActiveRecordGateway.php
TActiveRecordManager.php
procedural page TActiveRecordManager.php
TActiveRecord.php
procedural page TActiveRecord.php
STATE_DELETED
in file TActiveRecord.php, class constant TActiveRecord::STATE_DELETED
STATE_LOADED
in file TActiveRecord.php, class constant TActiveRecord::STATE_LOADED
STATE_NEW
in file TActiveRecord.php, class constant TActiveRecord::STATE_NEW
TActiveRecord
in file TActiveRecord.php, class TActiveRecord
    Base class for active records.
TActiveRecordChangeEventParameter
in file TActiveRecord.php, class TActiveRecordChangeEventParameter
    TActiveRecordChangeEventParameter class
TActiveRecordConfig
in file TActiveRecordConfig.php, class TActiveRecordConfig
    TActiveRecordConfig module configuration class.
TActiveRecordConfigurationException
in file TActiveRecordException.php, class TActiveRecordConfigurationException
    Base exception class for Active Records.
TActiveRecordCriteria
in file TActiveRecordCriteria.php, class TActiveRecordCriteria
    Search criteria for Active Record.
TActiveRecordException
in file TActiveRecordException.php, class TActiveRecordException
    Base exception class for Active Records.
TActiveRecordGateway
in file TActiveRecordGateway.php, class TActiveRecordGateway
    TActiveRecordGateway excutes the SQL command queries and returns the data record as arrays (for most finder methods).
TActiveRecordInvalidFinderResult
in file TActiveRecord.php, class TActiveRecordInvalidFinderResult
    TActiveRecordInvalidFinderResult class.
TActiveRecordManager
in file TActiveRecordManager.php, class TActiveRecordManager
    TActiveRecordManager provides the default DB connection, default active record gateway, and table meta data inspector.
top

u

Null
in file TActiveRecord.php, class constant TActiveRecordInvalidFinderResult::Null
update
in file TActiveRecordGateway.php, method TActiveRecordGateway::update()
    Update the record.
updateAssociatedRecords
in file TActiveRecordGateway.php, method TActiveRecordGateway::updateAssociatedRecords()
updatePostInsert
in file TActiveRecordGateway.php, method TActiveRecordGateway::updatePostInsert()
    Sets the last insert ID to the corresponding property of the record if available.
top

x

Exception
in file TActiveRecord.php, class constant TActiveRecordInvalidFinderResult::Exception
top