Class Control (namespace Nette\Application)
Control is renderable component.
Object | --Component | --ComponentContainer | --PresenterComponent | --Control
Implements interfaces:
Direct Known Sub-classes:
Public Method Summary | |
---|---|
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.
|
Protected Method Summary | |
---|---|
protected ITemplate |
|
Methods Inherited From PresenterComponent |
---|
__construct(), ajaxLink(), attached(), formatSignalMethod(), getParam(), getParamId(), getPersistentParams(), getPresenter(), getUniqueId(), lazyLink(), link(), loadState(), redirect(), saveState(), signalReceived(), tryCall() |
Methods Inherited From ComponentContainer |
---|
addComponent(), createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent(), __clone() |
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 71 createTemplateprotected ITemplate createTemplate ()
|
|||||||||||||||
line 110 flashMessagepublic stdClass flashMessage (string $message, [string $type = Saves the message to template, that can be displayed after redirect.
|
|||||||||||||||
line 191 getSnippetIdpublic string getSnippetId ([string $name = Returns snippet HTML ID.
|
|||||||||||||||
line 53 getTemplatepublic ITemplate getTemplate ()
|
|||||||||||||||
line 134 invalidateControlpublic void invalidateControl ([string $snippet = Forces control or its snippet to repaint. Implementation of:
|
|||||||||||||||
line 163 isControlInvalidpublic bool isControlInvalid ([string $snippet = Is required to repaint the control or its snippet? Implementation of:
|
|||||||||||||||
line 146 validateControlpublic void validateControl ([string $snippet = Allows control or its snippet to not repaint.
|