Class Control
Control is renderable component.
-
Nette\Object
-
Nette\Component
implements
Nette\IComponent
-
Nette\ComponentContainer
implements
Nette\IComponentContainer
-
Nette\Application\PresenterComponent
implements
Nette\Application\ISignalReceiver,
Nette\Application\IStatePersistent,
ArrayAccess
-
Nette\Application\Control
implements
Nette\Application\IPartiallyRenderable
Methods summary
final public
Nette\Templates\ITemplate
|
|
protected
Nette\Templates\ITemplate
|
|
public
|
|
public
IComponent
|
#
getWidget( string $name )
Returns widget component specified by name.
Returns widget component specified by name.
Parameters
Returns
IComponent
|
public
stdClass
|
#
flashMessage( string $message, string $type = 'info' )
Saves the message to template, that can be displayed after redirect.
Saves the message to template, that can be displayed after redirect.
Parameters
- $message
string
- $type
string
Returns
|
public
|
#
invalidateControl( string $snippet = NULL )
Forces control or its snippet to repaint.
Forces control or its snippet to repaint.
Parameters
Implementation of
|
public
|
#
validateControl( string $snippet = NULL )
Allows control or its snippet to not repaint.
Allows control or its snippet to not repaint.
Parameters
|
public
boolean
|
#
isControlInvalid( string $snippet = NULL )
Is required to repaint the control or its snippet?
Is required to repaint the control or its snippet?
Parameters
- $snippet
string snippet name
Returns
boolean
Implementation of
|
public
string
|
#
getSnippetId( string $name = NULL )
Returns snippet HTML ID.
Parameters
Returns
string
|
Methods inherited from Nette\Application\PresenterComponent
__construct(),
attached(),
formatSignalMethod(),
getParam(),
getParamId(),
getPersistentParams(),
getPresenter(),
getReflection(),
getUniqueId(),
lazyLink(),
link(),
loadState(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
redirect(),
saveState(),
signalReceived(),
tryCall()
|