Class Docs
This is the model class for table "x2_docs".
- CComponent
- CModel implements IteratorAggregate, ArrayAccess
- CActiveRecord
- X2ActiveRecord
- X2Model
- Docs
public static
|
|
public
string
|
|
public
array
|
|
public
array
|
|
public
array
|
|
public
|
|
public
|
|
public
CActiveDataProvider
|
|
public static
string
|
#
replaceVariables( type $str,
Replace tokens with model attribute values. |
public static
type
|
#
getEmailTemplates( type $type = 'email', string $associationType = '' )
Returns a list of email available email templates. |
public static
|
|
public static
array
|
getAllErrorMessages(),
getBehaviorRules(),
getFormatter(),
getInputRenderer(),
getName(),
renderAttribute(),
setFormatter(),
setInputRenderer()
|
__call(),
__get(),
__isset(),
__set(),
__sleep(),
__unset(),
addRelatedRecord(),
afterFindInternal(),
applyScopes(),
attributeNames(),
beforeCount(),
beforeDelete(),
beforeFind(),
beforeFindInternal(),
cache(),
count(),
countByAttributes(),
countBySql(),
defaultScope(),
delete(),
deleteAll(),
deleteAllByAttributes(),
deleteByPk(),
equals(),
exists(),
find(),
findAllByAttributes(),
findAllByPk(),
findAllBySql(),
findByPk(),
findBySql(),
getActiveFinder(),
getActiveRelation(),
getAttributes(),
getCommandBuilder(),
getDbConnection(),
getDbCriteria(),
getIsNewRecord(),
getMetaData(),
getOldPrimaryKey(),
getPrimaryKey(),
getRelated(),
getTableAlias(),
getTableSchema(),
hasAttribute(),
hasRelated(),
init(),
instantiate(),
offsetExists(),
onAfterDelete(),
onAfterFind(),
onAfterSave(),
onBeforeCount(),
onBeforeDelete(),
onBeforeFind(),
onBeforeSave(),
populateRecord(),
populateRecords(),
primaryKey(),
refresh(),
refreshMetaData(),
resetScope(),
saveAttributes(),
saveCounters(),
scopes(),
setAttribute(),
setDbCriteria(),
setIsNewRecord(),
setOldPrimaryKey(),
setPrimaryKey(),
setTableAlias(),
together(),
update(),
updateAll(),
updateByPk(),
updateCounters(),
with()
|
addError(),
addErrors(),
afterConstruct(),
afterValidate(),
beforeValidate(),
clearErrors(),
createValidators(),
generateAttributeLabel(),
getError(),
getErrors(),
getIterator(),
getSafeAttributeNames(),
getScenario(),
getValidatorList(),
getValidators(),
hasErrors(),
isAttributeRequired(),
isAttributeSafe(),
offsetGet(),
offsetSet(),
offsetUnset(),
onAfterConstruct(),
onAfterValidate(),
onBeforeValidate(),
onUnsafeAttribute(),
setAttributes(),
setScenario(),
unsetAttributes(),
validate()
|
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
BELONGS_TO,
HAS_MANY,
HAS_ONE,
MANY_MANY,
STAT
|
public
true
|
$supportsWorkflow | false |
#
if this model can have workflows associated with it, false otherwise |
$fieldInputRendererClass
|
$db
|
$fieldPermissions,
$isExemptFromFieldLevelPermissions,
$myModelName,
$readableAttributeNames,
$relatedX2Models
|
$attributes,
$commandBuilder,
$dbConnection,
$dbCriteria,
$isNewRecord,
$metaData,
$oldPrimaryKey,
$primaryKey,
$tableAlias,
$tableSchema
|
$errors,
$iterator,
$safeAttributeNames,
$scenario,
$validatorList,
$validators
|