Class Container
ComponentContainer is default implementation of IContainer.
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent uses Nette\SmartObject
- Nette\ComponentModel\Container implements Nette\ComponentModel\IContainer
Indirect known subclasses
Nette\Application\UI\Control, Nette\Application\UI\Form, Nette\Application\UI\Multiplier, Nette\Application\UI\Presenter, Nette\Forms\Form
public
|
#
addComponent(
Adds the component to the container. |
public
|
#
removeComponent(
Removes the component from the container. |
public
|
#
getComponent( string|integer $name, boolean $throw = true )
Returns component specified by name or path. |
protected
|
#
createComponent( string $name )
Component factory. Delegates the creation of components to a createComponent<Name> method. |
public
|
#
getComponents( boolean $deep = false, string $filterType = null )
Iterates over descendants components. |
protected
|
#
validateChildComponent(
Descendant can override this method to disallow insert a child by throwing an Nette\InvalidStateException. |
public
|
|
public
|
__construct(),
__sleep(),
__wakeup(),
attached(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|
public read-only
|
$components
|
$name,
$parent
|