Class P3ActiveRecord
ActiveRecord, basic settings for p2 core models
- CComponent
-
CModel
implements
IteratorAggregate,
ArrayAccess
-
CActiveRecord
-
P3ActiveRecord
Direct known subclasses
Indirect known subclasses
Copyright: Copyright © 2005-2010 diemeisterei GmbH
License: http://www.phundament.com/license/
Author: Tobias Munk <schmunk@usrbin.de>
Located at phundament/p3extensions/components/P3ActiveRecord.php
Methods summary
public
array
|
|
public
array
|
|
public
array
|
Methods inherited from CActiveRecord
__call(),
__construct(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
addRelatedRecord(),
afterDelete(),
afterFind(),
afterFindInternal(),
afterSave(),
applyScopes(),
attributeNames(),
beforeDelete(),
beforeFind(),
beforeFindInternal(),
beforeSave(),
cache(),
count(),
countByAttributes(),
countBySql(),
defaultScope(),
delete(),
deleteAll(),
deleteAllByAttributes(),
deleteByPk(),
equals(),
exists(),
find(),
findAll(),
findAllByAttributes(),
findAllByPk(),
findAllBySql(),
findByAttributes(),
findByPk(),
findBySql(),
getActiveRelation(),
getAttribute(),
getAttributeLabel(),
getAttributes(),
getCommandBuilder(),
getDbConnection(),
getDbCriteria(),
getIsNewRecord(),
getMetaData(),
getOldPrimaryKey(),
getPrimaryKey(),
getRelated(),
getTableAlias(),
getTableSchema(),
hasAttribute(),
hasRelated(),
init(),
insert(),
instantiate(),
model(),
offsetExists(),
onAfterDelete(),
onAfterFind(),
onAfterSave(),
onBeforeDelete(),
onBeforeFind(),
onBeforeSave(),
populateRecord(),
populateRecords(),
primaryKey(),
query(),
refresh(),
refreshMetaData(),
resetScope(),
save(),
saveAttributes(),
saveCounters(),
setAttribute(),
setDbCriteria(),
setIsNewRecord(),
setOldPrimaryKey(),
setPrimaryKey(),
setTableAlias(),
tableName(),
together(),
update(),
updateAll(),
updateByPk(),
updateCounters(),
with()
Methods inherited from CModel
addError(),
addErrors(),
afterConstruct(),
afterValidate(),
attributeLabels(),
beforeValidate(),
clearErrors(),
createValidators(),
generateAttributeLabel(),
getError(),
getErrors(),
getIterator(),
getSafeAttributeNames(),
getScenario(),
getValidatorList(),
getValidators(),
hasErrors(),
isAttributeRequired(),
isAttributeSafe(),
offsetGet(),
offsetSet(),
offsetUnset(),
onAfterConstruct(),
onAfterValidate(),
onBeforeValidate(),
onUnsafeAttribute(),
rules(),
setAttributes(),
setScenario(),
unsetAttributes(),
validate()
Methods inherited from CComponent
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
Magic methods summary
Constants summary
Constants inherited from CActiveRecord
BELONGS_TO,
HAS_MANY,
HAS_ONE,
MANY_MANY,
STAT
Properties summary
Properties inherited from CActiveRecord
$db
Magic properties inherited from CActiveRecord
$attributes,
$commandBuilder,
$dbConnection,
$dbCriteria,
$isNewRecord,
$metaData,
$oldPrimaryKey,
$primaryKey,
$tableAlias,
$tableSchema
Magic properties inherited from CModel
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators