PHP Class MenuItem

Mostra file Open project: yupe/yupe Class Usage Examples

Public Properties

Property Type Description
$regular_link boolean

Public Methods

Method 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

Protected Methods

Method Description
afterDelete ( )
afterSave ( )

Method Details

afterDelete() protected method

protected afterDelete ( )

afterSave() protected method

protected afterSave ( )

attributeDescriptions() public method

public attributeDescriptions ( ) : array
return array customized attribute descriptions (name=>description)

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

behaviors() public method

public behaviors ( ) : array
return array

deleteWithChild() public method

public deleteWithChild ( ) : boolean
return boolean

getConditionDenial() public method

public getConditionDenial ( ) : string
return string

getConditionDenialList() public method

public getConditionDenialList ( ) : array
return array

getConditionList() public method

public getConditionList ( boolean | false $condition = false ) : array
$condition boolean | false
return array

getConditionName() public method

public getConditionName ( ) : string
return string

getConditionVisible() public method

public getConditionVisible ( $name, $condition_denial ) : boolean
$name
$condition_denial
return boolean

getParent() public method

public getParent ( ) : string
return string

getParentList() public method

public getParentList ( ) : array
return array

getParentTree() public method

public getParentTree ( ) : array
return array

getParentTreeIterator() public method

public getParentTreeIterator ( integer $parent_id, integer $level = 1 ) : array
$parent_id integer
$level integer
return array

getStatus() public method

public getStatus ( ) : string
return string

getStatusList() public method

public getStatusList ( ) : array
return array

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : MenuItem
$className string active record class name.
return MenuItem the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

scopes() public method

public scopes ( ) : array
return array

tableName() public method

public tableName ( ) : string
return string the associated database table name

Property Details