Class Component
Component is the base class for all components.
Components are objects implementing IComponent. They has parent component and own name.
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent uses Nette\SmartObject
Indirect known subclasses
Nette\Application\UI\Component, Nette\Application\UI\Control, Nette\Forms\Controls\CsrfProtection, Nette\Forms\Controls\HiddenField, Nette\Forms\Controls\ImageButton, Nette\Forms\Controls\MultiChoiceControl, Nette\Forms\Controls\MultiSelectBox, Nette\Forms\Controls\RadioList, Nette\Forms\Controls\SelectBox, Nette\Forms\Controls\SubmitButton, Nette\Forms\Controls\TextArea, Nette\Forms\Controls\TextBase, Nette\Application\UI\Form, Nette\Forms\Controls\TextInput, Nette\Forms\Controls\UploadControl, Nette\Forms\Form, Nette\Application\UI\Multiplier, Nette\Application\UI\Presenter, Nette\Forms\Container, Nette\Forms\Controls\Button, Nette\Forms\Controls\Checkbox, Nette\Forms\Controls\CheckboxList, Nette\Forms\Controls\ChoiceControl
public
|
|
public
|
|
public
string|null
|
#
lookupPath( string|null $type = null, boolean $throw = true )
Lookup for component specified by class or interface name. Returns backtrace path. A path is the concatenation of component names separated by self::NAME_SEPARATOR. |
public
|
|
public
|
|
protected
|
#
attached(
This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself. |
protected
|
#
detached(
This method will be called before the component (or component's parent) becomes detached from a monitored object. Do not call this method yourself. |
public
string|null
|
|
public
|
|
protected
|
#
validateParent(
Is called by a component when it is about to be set new parent. Descendant can override this method to disallow a parent change by throwing an Nette\InvalidStateException |
public
|
|
public
|
|
public
|
setParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
NAME_SEPARATOR
|
public read-only
string
|
$name
|
public read-only
|
$parent
|