PHP Class MenuItem

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

Méthodes publiques

Свойство Type Description
$regular_link boolean

Méthodes publiques

Méthode Description
attributeDescriptions ( ) : array
attributeLabels ( ) : array
behaviors ( ) : array
deleteWithChild ( ) : boolean
getConditionDenial ( ) : string
getConditionDenialList ( ) : array
getConditionList ( boolean | false $condition = false ) : array
getConditionName ( ) : string
getConditionVisible ( $name, $condition_denial ) : boolean
getParent ( ) : string
getParentList ( ) : array
getParentTree ( ) : array
getParentTreeIterator ( integer $parent_id, integer $level = 1 ) : array
getStatus ( ) : string
getStatusList ( ) : array
model ( string $className = __CLASS__ ) : MenuItem 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

Méthodes protégées

Méthode Description
afterDelete ( )
afterSave ( )

Method Details

afterDelete() protected méthode

protected afterDelete ( )

afterSave() protected méthode

protected afterSave ( )

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

deleteWithChild() public méthode

public deleteWithChild ( ) : boolean
Résultat boolean

getConditionDenial() public méthode

public getConditionDenial ( ) : string
Résultat string

getConditionDenialList() public méthode

public getConditionDenialList ( ) : array
Résultat array

getConditionList() public méthode

public getConditionList ( boolean | false $condition = false ) : array
$condition boolean | false
Résultat array

getConditionName() public méthode

public getConditionName ( ) : string
Résultat string

getConditionVisible() public méthode

public getConditionVisible ( $name, $condition_denial ) : boolean
$name
$condition_denial
Résultat boolean

getParent() public méthode

public getParent ( ) : string
Résultat string

getParentList() public méthode

public getParentList ( ) : array
Résultat array

getParentTree() public méthode

public getParentTree ( ) : array
Résultat array

getParentTreeIterator() public méthode

public getParentTreeIterator ( integer $parent_id, integer $level = 1 ) : array
$parent_id integer
$level integer
Résultat array

getStatus() public méthode

public getStatus ( ) : string
Résultat string

getStatusList() public méthode

public getStatusList ( ) : array
Résultat array

model() public static méthode

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : MenuItem
$className string active record class name.
Résultat MenuItem 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.

scopes() public méthode

public scopes ( ) : array
Résultat array

tableName() public méthode

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

Property Details