PHP Класс ContentBlock

The followings are the available columns in table 'ContentBlock':
Наследование: extends CActiveRecord
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
attributeLabels ( ) : array
getCategoryAlias ( ) : string
getCategoryName ( ) : string
getContent ( ) : string
getStatusList ( ) : array
getType ( ) : mixed | string
getTypes ( ) : array
model ( string $className = __CLASS__ ) : ContentBlock Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
scopes ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Защищенные методы

Метод Описание
beforeSave ( ) : boolean

Описание методов

attributeLabels() публичный Метод

public attributeLabels ( ) : array
Результат array customized attribute labels (name=>label)

beforeSave() защищенный Метод

protected beforeSave ( ) : boolean
Результат boolean

getCategoryAlias() публичный Метод

public getCategoryAlias ( ) : string
Результат string

getCategoryName() публичный Метод

public getCategoryName ( ) : string
Результат string

getContent() публичный Метод

public getContent ( ) : string
Результат string

getStatusList() публичный Метод

public getStatusList ( ) : array
Результат array

getType() публичный Метод

public getType ( ) : mixed | string
Результат mixed | string

getTypes() публичный Метод

public getTypes ( ) : array
Результат array

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : ContentBlock
$className string
Результат ContentBlock the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

scopes() публичный Метод

public scopes ( ) : array
Результат array

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name