class Base extends Base implements IGroup

Basic group class.

Properties

protected string $_name from Base
protected $_classes from Base
protected array $_children

Methods

string
getName()

Returns the name.

from Base
boolean
setName(string $name)

Sets the name.

from Base
array
getClasses()

Returns all declared classes.

from Base
addChildren(mixed $children)

Adds a children to the group.

array
getChildrens()

Returns all children as array.

boolean
hasChildren()

Returns if the Group has children.

Details

in Base at line 30
final string getName()

Returns the name.

Return Value

string

in Base at line 41
final boolean setName(string $name)

Sets the name.

Parameters

string $name

Return Value

boolean

in Base at line 57
array getClasses()

Returns all declared classes.

We need this way, because the autoloader will try to include the class file if we use "class_exists" or similar functions.

Return Value

array

at line 31
addChildren(mixed $children)

Adds a children to the group.

Parameters

mixed $children A children of a group.

at line 41
array getChildrens()

Returns all children as array.

Return Value

array Returns the full array with childrens, stored in this group.

at line 52
boolean hasChildren()

Returns if the Group has children.

Return Value

boolean If the group has children it will be TRUE, otherwhise FALSE.