PHP Class Type

Author: 60044723
Inheritance: extends CI_Controller
Show file Open project: yupe/yupe Class Usage Examples

Public Methods

Method Description
attributeDescriptions ( ) : array
attributeLabels ( ) : array
getAttributeGroups ( ) : array
model ( $className = __CLASS__ ) : Type Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
storeTypeAttributes ( array $attributes ) : boolean
tableName ( ) : string

Method Details

attributeDescriptions() public method

public attributeDescriptions ( ) : array
return array customized attribute descriptions (name=>description)

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

getAttributeGroups() public method

public getAttributeGroups ( ) : array
return array

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Type
return Type the static model class

relations() public method

public relations ( ) : array
return array

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

storeTypeAttributes() public method

public storeTypeAttributes ( array $attributes ) : boolean
$attributes array
return boolean

tableName() public method

public tableName ( ) : string
return string the associated database table name