Class Control (namespace Nette\Application)
Control is renderable component.
Object | --Component | --ComponentContainer | --PresenterComponent | --Control
Implements interfaces:
Direct Known Sub-classes:
| Method Summary | |
|---|---|
| protected ITemplate |
|
| stdClass |
flashMessage
(string $message, [string $type =
'info'])
Saves the message to template, that can be displayed after redirect.
|
| string |
getSnippetId
([string $name =
NULL])
Returns snippet HTML ID.
|
| ITemplate |
getTemplate
()
|
| void |
invalidateControl
([string $snippet =
NULL])
Forces control or its snippet to repaint.
|
| bool |
isControlInvalid
([string $snippet =
NULL])
Is required to repaint the control or its snippet?
|
| void |
validateControl
([string $snippet =
NULL])
Allows control or its snippet to not repaint.
|
| Variable Summary |
|---|
| Method Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 73 createTemplateprotected ITemplate createTemplate ()
|
|||||||||||||||
|
line 120 flashMessagepublic stdClass flashMessage (string $message, [string $type = Saves the message to template, that can be displayed after redirect.
|
|||||||||||||||
|
line 201 getSnippetIdpublic string getSnippetId ([string $name = Returns snippet HTML ID.
|
|||||||||||||||
|
line 55 getTemplatepublic ITemplate getTemplate ()
|
|||||||||||||||
|
line 144 invalidateControlpublic void invalidateControl ([string $snippet = Forces control or its snippet to repaint. Implementation of:
|
|||||||||||||||
|
line 173 isControlInvalidpublic bool isControlInvalid ([string $snippet = Is required to repaint the control or its snippet? Implementation of:
|
|||||||||||||||
|
line 156 validateControlpublic void validateControl ([string $snippet = Allows control or its snippet to not repaint.
|
|||||||||||||||