Class NPresenter
Presenter object represents a webpage instance. It executes all the logic for the request.
- NObject
- NComponent implements IComponent
- NComponentContainer implements IComponentContainer
- NPresenterComponent implements ISignalReceiver, IStatePersistent, ArrayAccess
- NControl implements IPartiallyRenderable
- NPresenter implements IPresenter
final public
|
|
final public
|
|
final public
string
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
final public
array|null
|
|
final public
boolean
|
#
isSignalReceiver( mixed $component, string $signal = NULL )
Checks if the signal receiver is the given one. |
final public
string
|
|
public
|
|
final public
string
|
|
public
|
|
final public
string|false
|
|
public
|
|
public
|
|
public
array
|
#
formatLayoutTemplateFiles( string $presenter, string $layout )
Formats layout template file names. |
public
array
|
|
protected static
string
|
|
protected static
string
|
|
final public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
#
redirectUri( string $uri, integer $code = NULL )
Redirect to another URL and ends presenter execution. |
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
protected
string
|
#
handleInvalidLink(
Invalid link handler. Descendant can override this method to change default behaviour. |
public static
array
|
#
getPersistentComponents( )
Returns array of persistent components. This default implementation detects components by class-level annotation @persistent(cmp1, cmp2). |
protected
|
#
saveGlobalState( )
Permanently saves state information for all subcomponents to $this->globalState. |
final public
array
|
|
public
boolean
|
|
public
|
|
protected
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
createTemplate(),
flashMessage(),
getSnippetId(),
getTemplate(),
getWidget(),
invalidateControl(),
isControlInvalid(),
templatePrepareFilters(),
validateControl()
|
__clone(),
addComponent(),
createComponent(),
getComponent(),
getComponents(),
removeComponent(),
validateChildComponent()
|
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod()
|
integer
|
INVALID_LINK_SILENT
|
1 |
#
bad link handling |
integer
|
INVALID_LINK_WARNING
|
2 |
|
integer
|
INVALID_LINK_EXCEPTION
|
3 |
|
string
|
SIGNAL_KEY
|
'do' |
|
string
|
ACTION_KEY
|
'action' |
|
string
|
FLASH_KEY
|
'_fid' |
NAME_SEPARATOR
|
public static
string
|
$defaultAction | 'default' |
|
public static
integer
|
$invalidLinkMode |
|
|
public
array
|
$onShutdown |
|
#
of function(Presenter $sender, IPresenterResponse $response = NULL); Occurs when the presenter is shutting down |
public
boolean
|
$oldLayoutMode | TRUE |
#
(experimental) |
public
boolean
|
$oldModuleMode | TRUE |
#
(experimental) |
public
boolean
|
$autoCanonicalize | TRUE |
#
automatically call canonicalize() |
public
boolean
|
$absoluteUrls | FALSE |
#
use absolute Urls or paths? |
$params
|