class GroupedView extends View (View source)

Properties

protected ContextInterface $context from  View
protected $scopeItems from  View
protected $label from  FormView
protected $supportsLabel from  FormView
protected $isRequired from  FormView
protected $controller from  View
protected $value from  View
protected $key from  View
protected ObjectInterface $object from  View

Methods

__construct(ContextInterface $context, Key $key, AbstractValue $value = null)

No description

from  View
addScopeItem($key, $value)

No description

from  View
getScopeItems()

No description

from  View
getView()

No description

from  View
getContext()

No description

from  View
getControlRenderer()

No description

from  View
bool
isRequired()

No description

from  FormView
setIsRequired(bool $isRequired)

No description

from  FormView
setLabel($label)

No description

from  FormView
string
getLabel()

Returns the label for the current form control.

from  FormView
setSupportsLabel($supportsLabel)

No description

from  FormView
bool
supportsLabel()

Returns true if the current form control supports labeling.

from  FormView
setValue(mixed $value)

No description

from  View
void
setObject(ObjectInterface $object)

No description

from  View
string|null
getControlID()

Returns the ID of the current form control – may return null if the form control doesn't need it.

from  View
renderControl()

No description

from  View

Details

__construct(ContextInterface $context, Key $key, AbstractValue $value = null)

No description

Parameters

ContextInterface $context
Key $key
AbstractValue $value

addScopeItem($key, $value)

No description

Parameters

$key
$value

getScopeItems()

No description

getView()

No description

ContextInterface getContext()

No description

Return Value

ContextInterface

RendererInterface getControlRenderer()

No description

Return Value

RendererInterface

bool isRequired()

No description

Return Value

bool

setIsRequired(bool $isRequired)

No description

Parameters

bool $isRequired

setLabel($label)

No description

Parameters

$label

string getLabel()

Returns the label for the current form control.

Return Value

string

setSupportsLabel($supportsLabel)

No description

Parameters

$supportsLabel

bool supportsLabel()

Returns true if the current form control supports labeling.

Return Value

bool

setValue(mixed $value)

No description

Parameters

mixed $value

void setObject(ObjectInterface $object)

No description

Parameters

ObjectInterface $object

Return Value

void

string|null getControlID()

Returns the ID of the current form control – may return null if the form control doesn't need it.

Return Value

string|null

TemplateLocator createTemplateLocator()

No description

Return Value

TemplateLocator

renderControl()

No description