Look up a class, method, property or event


Inheritance class CActiveRecordMetaData
Since 1.0
Version $Id: CActiveRecord.php 1591 2009-12-15 16:01:10Z qiang.xue $
CActiveRecordMetaData represents the meta-data for an Active Record class.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
attributeDefaults array attribute default values CActiveRecordMetaData
columns array table columns CActiveRecordMetaData
relations array list of relations CActiveRecordMetaData
tableSchema CDbTableSchema the table schema information CActiveRecordMetaData

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Constructor. CActiveRecordMetaData
getValidators() CActiveRecordMetaData

Property Details

attributeDefaults property
public array $attributeDefaults;

attribute default values

columns property
public array $columns;

table columns

relations property
public array $relations;

list of relations

tableSchema property
public CDbTableSchema $tableSchema;

the table schema information

Method Details

__construct() method
public void __construct(CActiveRecord $model)
$model CActiveRecord the model instance


getValidators() method
public array getValidators()
{return} array list of validators

Be the first person to leave a comment

Please to leave your comment.