Class NComponentContainer
ComponentContainer is default implementation of IComponentContainer.
- NObject
- NComponent implements IComponent
- NComponentContainer implements IComponentContainer
public
|
#
addComponent( IComponent $component, string $name, string $insertBefore = NULL )
Adds the specified component to the IComponentContainer. |
public
|
|
final public
|
|
protected
|
#
createComponent( string $name )
Component factory. Delegates the creation of components to a createComponent<Name> method. |
final public
|
|
protected
|
#
validateChildComponent( IComponent $child )
Descendant can override this method to disallow insert a child by throwing an InvalidStateException. |
public
|
__construct(),
__wakeup(),
attached(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|