| | Name | Description |
| |
addParsedObject |
Processes an object that is created during parsing template. (inherited from TComponent) |
| |
attachEventHandler |
Attaches an event handler to an event. (inherited from TComponent) |
| |
canGetProperty |
Determines whether a property can be read. (inherited from TComponent) |
| |
canSetProperty |
Determines whether a property can be set. (inherited from TComponent) |
| |
copyFrom |
Copies data from an array or another object. |
| |
count |
Find the number of records. |
| S |
createRecord |
Create an AR instance specified by the AR class name and initial data. |
| P |
createRelationContext |
Gets a static copy of the relationship context for given property (a key in $RELATIONS), returns null if invalid relationship. |
| |
createdOnTemplate |
This method is invoked after the component is instantiated by a template. (inherited from TComponent) |
| |
delete |
Deletes the current record from the database. |
| |
deleteAll |
Delete multiple records using a criteria. |
| |
deleteAllByPks |
Alias for deleteByPk(). |
| |
deleteByPk |
Delete records by primary key. |
| |
detachEventHandler |
Detaches an existing event handler. (inherited from TComponent) |
| |
equals |
Compare two records using their primary key values (all column values if table does not defined primary keys). |
| |
evaluateExpression |
Evaluates a PHP expression in the context of this control. (inherited from TComponent) |
| |
evaluateStatements |
Evaluates a list of PHP statements. (inherited from TComponent) |
| P |
fetchResultsFor |
Tries to load the relationship results for the given property. |
| |
find |
Find one single record that matches the criteria. |
| |
findAll |
Same as find() but returns an array of objects. |
| |
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 |
Find multiple records matching a list of primary or composite keys. |
| |
findAllBySql |
Find records using full SQL, returns corresponding record object. |
| |
findByPk |
Find one record using only the primary key or composite primary keys. |
| |
findBySql |
Find records using full SQL, returns corresponding record object. |
| S |
finder |
Returns the instance of a active record finder for a particular class. |
| S |
getActiveDbConnection |
. |
| |
getColumnValue |
Retrieves the column value according to column name. |
| |
getEventHandlers |
Returns the list of attached event handlers for an event. (inherited from TComponent) |
| P |
getRecordCriteria |
Create a new TSqlCriteria object from a string $criteria. |
| S |
getRecordManager |
Gets the record manager for this object, the default is to call TActiveRecordManager::getInstance(). |
| |
getRecordRelation |
relation definition for the specified property @since 3. |
| P |
getRelationHandler |
Returns the active record relationship handler for $RELATION with key value equal to the $property value. |
| |
getSubProperty |
Evaluates a property path. (inherited from TComponent) |
| |
hasEvent |
Determines whether an event is defined. (inherited from TComponent) |
| |
hasEventHandler |
whether an event has been attached one or several handlers. (inherited from TComponent) |
| |
hasProperty |
Determines whether a property is defined. (inherited from TComponent) |
| |
hasRecordRelation |
whether a relation is declared for the specified AR property @since 3. |
| P |
populateObject |
Populates a new record with the query result. |
| P |
populateObjects |
the AR objects populated by the query result @since 3. |
| |
raiseEvent |
Raises an event. (inherited from TComponent) |
| |
save |
Saves the current record to the database, insert or update is automatically determined. |
| |
setColumnValue |
Sets the column value according to column name. |
| |
setSubProperty |
Sets a value to a property path. (inherited from TComponent) |