PHP Класс AttributeValue, yupe

Specifies the value of an element
Автор: Boris Sanègre ([email protected])
Наследование: extends AbstractAttributeTypeMixed
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
attributeLabels ( ) : array
behaviors ( ) : array
column ( $type ) : string
getFilePath ( ) : null | string
model ( string $className = __CLASS__ ) : AttributeValue 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.
store ( $attributeId, $value, Product $product ) : boolean
tableName ( ) : string
value ( null $default = null ) : boolean | float | integer | null | string

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

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

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

behaviors() публичный метод

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

column() публичный метод

public column ( $type ) : string
$type
Результат string

getFilePath() публичный метод

public getFilePath ( ) : null | string
Результат null | string

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

Please note that you should have this exact method in all your CActiveRecord descendants!
public static model ( string $className = __CLASS__ ) : AttributeValue
$className string active record class name.
Результат AttributeValue the static model class

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

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

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

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

store() публичный метод

public store ( $attributeId, $value, Product $product ) : boolean
$attributeId
$value
$product Product
Результат boolean

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

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

value() публичный метод

public value ( null $default = null ) : boolean | float | integer | null | string
$default null
Результат boolean | float | integer | null | string