PHP Class App\Source\Composite\AMenu

Inheritance: implements App\Source\Composite\Interfaces\IMenuComposite, implements ArrayAccess
Afficher le fichier Open project: andrey900/slimcms

Méthodes publiques

Свойство Type Description
$link Link Item's hyperlink

Protected Properties

Свойство Type Description
$attributes array Item's attributes
$id integer
$last_id integer
$menu array
$meta array Item's meta data
$reserved array Reserved keys

Méthodes publiques

Méthode Description
__construct ( $name, null $options = null, $_name = false )
add ( App\Source\Composite\Interfaces\IMenuComposite $menuItem ) : mixed
getById ( $id )
getByName ( $name )
getChild ( ) : mixed
getId ( ) : integer
getLastId ( ) : integer
getParent ( integer $id ) : mixed
getUrl ( $options ) : mixed
offsetExists ( $id )
offsetGet ( $id )
offsetSet ( $id, $value )
offsetUnset ( $id )
remove ( $id ) : mixed

Method Details

__construct() public méthode

public __construct ( $name, null $options = null, $_name = false )
$name
$options null

add() abstract public méthode

abstract public add ( App\Source\Composite\Interfaces\IMenuComposite $menuItem ) : mixed
$menuItem App\Source\Composite\Interfaces\IMenuComposite
Résultat mixed

getById() public méthode

public getById ( $id )

getByName() public méthode

public getByName ( $name )

getChild() abstract public méthode

abstract public getChild ( ) : mixed
Résultat mixed

getId() public méthode

public getId ( ) : integer
Résultat integer

getLastId() public méthode

public getLastId ( ) : integer
Résultat integer

getParent() abstract public méthode

abstract public getParent ( integer $id ) : mixed
$id integer
Résultat mixed

getUrl() abstract public méthode

abstract public getUrl ( $options ) : mixed
$options
Résultat mixed

offsetExists() public méthode

public offsetExists ( $id )

offsetGet() public méthode

public offsetGet ( $id )

offsetSet() public méthode

public offsetSet ( $id, $value )

offsetUnset() public méthode

public offsetUnset ( $id )

remove() abstract public méthode

abstract public remove ( $id ) : mixed
$id
Résultat mixed

Property Details

$attributes protected_oe property

Item's attributes
protected array $attributes
Résultat array

$id protected_oe property

protected int $id
Résultat integer

$last_id protected_oe static_oe property

protected static int $last_id
Résultat integer

$menu protected_oe property

protected array $menu
Résultat array

$meta protected_oe property

Item's meta data
protected array $meta
Résultat array

$reserved protected_oe property

Reserved keys
protected array $reserved
Résultat array