namespace Nette
Interface IComponentContainer
Containers are objects that logically contain zero or more IComponent components.
- Nette\IComponentContainer implements IComponent
Direct Known Implementers
ComponentContainer
public
void
|
#
addComponent(
IComponent
$component,
string
$name
)
Adds the specified component to the IComponentContainer. Adds the specified component to the IComponentContainer. Parameters$component IComponent$name string |
public
void
|
#
removeComponent(
IComponent
$component
)
Removes a component from the IComponentContainer. Removes a component from the IComponentContainer. Parameters$component IComponent |
public
IComponent|NULL
|
#
getComponent(
string
$name
)
Returns single component. Returns single component. Parameters$name string |
public
\Iterator
|
#
getComponents(
bool
$deep = false,
string
$filterType = NULL
)
Iterates over a components. Iterates over a components. Parameters$deep bool recursive?$filterType string class types filter |
NAME_SEPARATOR |
'-' # |