Class PresenterComponent
PresenterComponent is the base class for all Presenter components.
Components are persistent objects located on a presenter. They have ability to own other child components, and interact with user. Components have properties for storing their status, and responds to user command.
- Nette\Object
- Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
- Nette\ComponentModel\Container implements Nette\ComponentModel\IContainer
- Nette\Application\UI\PresenterComponent implements Nette\Application\UI\ISignalReceiver, Nette\Application\UI\IStatePersistent, ArrayAccess
Indirect known subclasses
Nette\Application\UI\PresenterNamespace: Nette\Application\UI
Author: David Grudl
Located at Application/UI/PresenterComponent.php
public
|
|
public
string
|
#
getUniqueId( )
Returns a fully-qualified name that uniquely identifies the component within the presenter hierarchy. |
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
|
|
protected
boolean
|
|
public
|
|
public static
PresenterComponentReflection
|
|
public
|
|
public
|
|
public
mixed
|
|
public
array
|
|
public
string
|
#
getParameterId( string $name )
Returns a fully-qualified name that uniquely identifies the parameter. |
public
|
|
public static
array
|
#
getPersistentParams( )
Returns array of classes persistent parameters. They have public visibility and are non-static. This default implementation detects persistent parameters by annotation @persistent. |
public
|
|
public static
string
|
#
formatSignalMethod( string $signal )
Formats signal handler method name -> case sensitivity doesn't matter. |
public
string
|
|
public
Link
|
|
public
boolean
|
#
isLinkCurrent( string $destination = NULL, array|mixed $args = array() )
Determines whether it links to the current page. |
public
|
|
public
|
#
offsetSet( string $name,
Adds the component to the container. |
public
|
|
public
boolean
|
|
public
|
__clone(),
addComponent(),
createComponent(),
getComponent(),
getComponents(),
removeComponent(),
validateChildComponent()
|
__construct(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod()
|
setParent()
|
NAME_SEPARATOR
|
protected
array
|
$params | array() |
public read-only
|
$presenter | |
public read-only
string
|
$uniqueId |
$components
|
$name,
$parent
|
$reflection
|