PHP Class Attribute

Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

Свойство Type Description
$rawOptions

Méthodes publiques

Méthode Description
attributeDescriptions ( ) : array
attributeLabels ( ) : array
behaviors ( ) : array
changeType ( $currentType, $newType ) : boolean
getAttributeByName ( $name ) : null | static
getGroupTitle ( ) : string
getTypeTitle ( $type ) : mixed
getTypes ( ) : array
getTypesList ( ) : array
getYesNoList ( ) : array
isMultipleValues ( ) : boolean
isRequired ( ) : boolean
isType ( $type ) : boolean
model ( null | string $className = __CLASS__ )
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
setMultipleValuesAttributes ( array $attributes ) : boolean
setTypes ( array $types ) : boolean
tableName ( ) : string

Method Details

attributeDescriptions() public méthode

public attributeDescriptions ( ) : array
Résultat array customized attribute descriptions (name=>description)

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

changeType() public méthode

public changeType ( $currentType, $newType ) : boolean
$currentType
$newType
Résultat boolean

getAttributeByName() public méthode

public getAttributeByName ( $name ) : null | static
$name
Résultat null | static

getGroupTitle() public méthode

public getGroupTitle ( ) : string
Résultat string

getTypeTitle() public méthode

public getTypeTitle ( $type ) : mixed
$type
Résultat mixed

getTypes() public méthode

public getTypes ( ) : array
Résultat array

getTypesList() public méthode

public getTypesList ( ) : array
Résultat array

getYesNoList() public méthode

public getYesNoList ( ) : array
Résultat array

isMultipleValues() public méthode

public isMultipleValues ( ) : boolean
Résultat boolean

isRequired() public méthode

public isRequired ( ) : boolean
Résultat boolean

isType() public méthode

public isType ( $type ) : boolean
$type
Résultat boolean

model() public static méthode

public static model ( null | string $className = __CLASS__ )
$className null | string

relations() public méthode

public relations ( ) : array
Résultat array

rules() public méthode

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

setMultipleValuesAttributes() public méthode

public setMultipleValuesAttributes ( array $attributes ) : boolean
$attributes array
Résultat boolean

setTypes() public méthode

public setTypes ( array $types ) : boolean
$types array
Résultat boolean

tableName() public méthode

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

Property Details

$rawOptions public_oe property

public $rawOptions