TActiveRecordGateway excutes the SQL command queries and returns the data record as arrays (for most finder methods).
Located in /Data/ActiveRecord/TActiveRecordGateway.php (line 22)
TComponent | --TActiveRecordGateway
Record gateway constructor.
Returns the number of records that match the given criteria.
Delete the record.
Delete multiple records by criteria.
Delete multiple records using primary keys.
Returns record data matching the given primary key(s). If the table uses composite key, specify the name value pairs as an array.
Return record data from sql query.
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.
Returns records matching the list of given primary keys.
Return record data from sql query.
Returns table information, trys the application cache first.
Gets the table name from the 'TABLE' constant of the active record class if defined, otherwise use the class name as table name.
Returns table information for table in the database connection.
Insert a new record.
Raised when a command is prepared and parameter binding is completed.
The parameter object is TDataGatewayEventParameter of which the TDataGatewayEventParameter::getCommand property can be inspected to obtain the sql query to be executed. This method also raises the OnCreateCommand event on the ActiveRecord object calling this gateway.
Raised when a command is executed and the result from the database was returned.
The parameter object is TDataGatewayResultEventParameter of which the TDataGatewayEventParameter::getResult property contains the data return from the database. The data returned can be changed by setting the TDataGatewayEventParameter::setResult property. This method also raises the OnCreateCommand event on the ActiveRecord object calling this gateway.
Raise the corresponding command event, insert, update, delete or select.
Update the record.
Sets the last insert ID to the corresponding property of the record if available.
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__get()
TComponent::__set()
Documentation generated on Mon, 21 Apr 2008 11:29:41 -0400 by phpDocumentor 1.3.0RC4