class Standard extends Base

Standard group class

Properties

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

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.

from Base
array
getChildrens()

Returns all children as array.

from Base
boolean
hasChildren()

Returns if the Group has children.

from Base

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

in Base at line 31
addChildren(mixed $children)

Adds a children to the group.

Parameters

mixed $children A children of a group.

in Base at line 41
array getChildrens()

Returns all children as array.

Return Value

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

in Base 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.