Base
class Base extends Base implements IGroup
Basic group class.
Properties
protected string | $_name | from Base | |
protected | $_classes | from Base | |
protected array | $_children |
Methods
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.
in Base at line 41
final boolean
setName(string $name)
Sets the name.
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.
at line 31
addChildren(mixed $children)
Adds a children to the group.
at line 41
array
getChildrens()
Returns all children as array.
at line 52
boolean
hasChildren()
Returns if the Group has children.