View
class View extends FormView (View source)
Properties
protected ContextInterface | $context | ||
protected | $scopeItems | from View | |
protected | $label | from FormView | |
protected | $supportsLabel | from FormView | |
protected | $isRequired | from FormView | |
protected | $controller | ||
protected | $value | ||
protected | $key |
Methods
setValue(mixed $value)
No description
string|null
getControlID()
Returns the ID of the current form control – may return null if the form control doesn't need it.
createTemplateLocator()
No description
renderControl()
No description
Details
__construct(ContextInterface $context, Key $key, AbstractValue $value = null)
No description
in
View at line 18
addScopeItem($key, $value)
No description
in
View at line 23
getScopeItems()
No description
in
View at line 28
getView()
No description
in
View at line 36
ContextInterface
getContext()
No description
in
View at line 41
RendererInterface
getControlRenderer()
No description
bool
isRequired()
No description
setIsRequired(bool $isRequired)
No description
setLabel($label)
No description
string
getLabel()
Returns the label for the current form control.
setSupportsLabel($supportsLabel)
No description
bool
supportsLabel()
Returns true if the current form control supports labeling.
setValue(mixed $value)
No description
string|null
getControlID()
Returns the ID of the current form control – may return null if the form control doesn't need it.
TemplateLocator
createTemplateLocator()
No description
renderControl()
No description