system system.base system.caching system.caching.dependencies system.collections system.console system.db system.db.ar system.db.schema system.db.schema.mssql system.db.schema.mysql system.db.schema.oci system.db.schema.pgsql system.db.schema.sqlite system.i18n system.i18n.gettext system.logging system.utils system.validators system.web system.web.actions system.web.auth system.web.filters system.web.helpers system.web.renderers system.web.services system.web.widgets system.web.widgets.captcha system.web.widgets.pagers

CActiveRecordMetaData

system.db.ar
继承 class CActiveRecordMetaData
可用自 1.0
版本 $Id$
CActiveRecordMetaData represents the meta-data for an Active Record class.

公共属性

隐藏继承的属性

属性类型描述被定义在
attributeDefaults array attribute default values CActiveRecordMetaData
columns array table columns CActiveRecordMetaData
relations array list of relations CActiveRecordMetaData
tableSchema CDbTableSchema the table schema information CActiveRecordMetaData

公共方法

隐藏继承的方法

方法描述被定义在
__construct() Constructor. CActiveRecordMetaData
getValidators() CActiveRecordMetaData

属性详情

attributeDefaults 属性
public array $attributeDefaults;

attribute default values

columns 属性
public array $columns;

table columns

relations 属性
public array $relations;

list of relations

tableSchema 属性
public CDbTableSchema $tableSchema;

the table schema information

方法详情

__construct() 方法
public void __construct(CActiveRecord $model)
$model CActiveRecord the model instance

Constructor.

getValidators() 方法
public array getValidators()
{return} array list of validators