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
top
top
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
top
top
top
top
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
top
top
|