Interface IComponent (namespace Nette)
Provides functionality required by all components.
Direct Known Sub-interfaces:
| Public Method Summary | |
|---|---|
| string |
getName
()
|
| IComponentContainer|NULL |
getParent
()
Returns the container if any.
|
| IServiceLocator |
Gets the service locator (EXPERIMENTAL).
|
| void |
Sets the parent of this component.
|
| void |
setServiceLocator
(IServiceLocator $locator)
Sets the service location (EXPERIMENTAL).
|
| Constant Summary | |||
|---|---|---|---|
| string | NAME_SEPARATOR |
'-' |
line 33 Separator for component names in path concatenation. |
| Method Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
line 38 getNamepublic string getName () |
|||||||||
|
line 44 getParentpublic IComponentContainer|NULL getParent () Returns the container if any. |
|||||||||
|
line 65 getServiceLocatorpublic IServiceLocator getServiceLocator () Gets the service locator (EXPERIMENTAL). |
|||||||||
|
line 52 setParentpublic void setParent ([IComponentContainer $parent = Sets the parent of this component.
|
|||||||||
|
line 59 setServiceLocatorpublic void setServiceLocator (IServiceLocator $locator) Sets the service location (EXPERIMENTAL).
|
|||||||||
