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.
- Object
- Component implements IComponent
- ComponentContainer implements IComponentContainer
- PresenterComponent implements ISignalReceiver, IStatePersistent, ArrayAccess
Indirect known subclasses
PresenterPackage: 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
PresenterComponentReflection
|
|
public
|
|
public
|
|
public
mixed
|
#
getParameter( string $name = NULL, mixed $default = NULL )
Returns component param. If no key is passed, returns the entire array. |
public
string
|
#
getParameterId( string $name )
Returns a fully-qualified name that uniquely identifies the parameter. |
public
|
|
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
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
|
|
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
|