TActiveRecordManager provides the default DB connection, default active record gateway, and table meta data inspector.
The default connection can be set as follows:
All new active record created after setting the DbConnection will use that connection unless the custom ActiveRecord class overrides the ActiveRecord::getDbConnection().
- TActiveRecordManager::getInstance()->setDbConnection($conn);
Set the Cache property to an ICache object to allow the active record gateway to cache the table meta data information.
Located in /Data/ActiveRecord/TActiveRecordManager.php (line 38)
TComponent | --TActiveRecordManager
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:54 -0400 by phpDocumentor 1.3.0RC4