메소드 | 설명 | |
---|---|---|
__clone ( ) | Object cloning. | |
_isCloning ( ) : null | Nette\ComponentModel\IComponent | Is container cloning now? | |
addComponent ( Nette\ComponentModel\IComponent $component, $name, $insertBefore = NULL ) : self | Adds the specified component to the IContainer. | |
getComponent ( $name, $need = TRUE ) : Nette\ComponentModel\IComponent | null | Returns component specified by name or path. | |
getComponents ( $deep = FALSE, $filterType = NULL ) : ArrayIterator | Iterates over components. | |
removeComponent ( Nette\ComponentModel\IComponent $component ) : void | Removes a component from the IContainer. |
메소드 | 설명 | |
---|---|---|
createComponent ( $name ) : Nette\ComponentModel\IComponent |
Component factory. Delegates the creation of components to a createComponent |
|
validateChildComponent ( Nette\ComponentModel\IComponent $child ) : void | Descendant can override this method to disallow insert a child by throwing an Nette\InvalidStateException. |
public _isCloning ( ) : null | Nette\ComponentModel\IComponent | ||
리턴 | null | Nette\ComponentModel\IComponent |
public addComponent ( Nette\ComponentModel\IComponent $component, $name, $insertBefore = NULL ) : self | ||
$component | Nette\ComponentModel\IComponent | |
리턴 | self |
protected createComponent ( $name ) : Nette\ComponentModel\IComponent | ||
리턴 | Nette\ComponentModel\IComponent | the created component (optionally) |
public getComponent ( $name, $need = TRUE ) : Nette\ComponentModel\IComponent | null | ||
리턴 | Nette\ComponentModel\IComponent | null |
public getComponents ( $deep = FALSE, $filterType = NULL ) : ArrayIterator | ||
리턴 | ArrayIterator |
public removeComponent ( Nette\ComponentModel\IComponent $component ) : void | ||
$component | Nette\ComponentModel\IComponent | |
리턴 | void |
protected validateChildComponent ( Nette\ComponentModel\IComponent $child ) : void | ||
$child | Nette\ComponentModel\IComponent | |
리턴 | void |