PHP Class AttributeValue

Specifies the value of an element
Inheritance: extends AbstractAttributeTypeMixed
Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

behaviors() public méthode

public behaviors ( ) : array
Résultat array

column() public méthode

public column ( $type ) : string
$type
Résultat string

getFilePath() public méthode

public getFilePath ( ) : null | string
Résultat null | string

model() public static méthode

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.
Résultat AttributeValue the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

store() public méthode

public store ( $attributeId, $value, Product $product ) : boolean
$attributeId
$value
$product Product
Résultat boolean

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

value() public méthode

public value ( null $default = null ) : boolean | float | integer | null | string
$default null
Résultat boolean | float | integer | null | string