Control
abstract class Control extends Component implements Renderable
Control is renderable Presenter component.
Properties
bool | $snippetMode | ||
Template|DefaultTemplate|stdClass read-only | $template |
Methods
No description
No description
No description
No description
Descendant can override this method to customize template compile-time filters.
Saves the message to template, that can be displayed after redirect.
Forces control or its snippet to repaint.
Is required to repaint the control or its snippet?
Returns snippet HTML ID.
Details
at line 38
final
setTemplateFactory(TemplateFactory $templateFactory)
No description
at line 45
final Template
getTemplate()
No description
at line 58
protected Template
createTemplate()
No description
at line 68
string|null
formatTemplateClass()
No description
at line 75
protected string|null
checkTemplateClass(string $class)
internal |
No description
at line 96
void
templatePrepareFilters(Template $template)
Descendant can override this method to customize template compile-time filters.
at line 105
stdClass
flashMessage(string|stdClass|HtmlStringable $message, string $type = 'info')
Saves the message to template, that can be displayed after redirect.
at line 126
void
redrawControl(string|null $snippet = null, bool $redraw = true)
Forces control or its snippet to repaint.
at line 143
bool
isControlInvalid(string|null $snippet = null)
Is required to repaint the control or its snippet?
at line 173
string
getSnippetId(string $name)
Returns snippet HTML ID.