Methods
{@inheritDoc}
column(\salt\Field $field, string $format = NULL)
Parameters
$field
\salt\Fieldthe field to display
$format
stringformat to use for change the output
{@inheritDoc}
edit(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params)
Parameters
$object
\salt\Baseobject that contains the value
$field
\salt\Fieldthe field
$value
mixedthe value to edit
$format
stringformat to use
$params
array<mixed,mixed>parameter passed to Base->FORM or Base->VIEW method
Retrieve groups options for a type
getGroupOptions(integer $type, array<mixed,mixed> $contentsByTypeGroup) : array<mixed,mixed>
Static
Parameters
$type
integerSsoGroupElement::TYPE_*
$contentsByTypeGroup
array<mixed,mixed>[type => [group => ['count' => number, 'tooltip' => text]]]
Returns
array<mixed,mixed>array group => value (for select display)
{@inheritDoc}
show(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params)
Parameters
$object
\salt\Baseobject that contains the value
$field
\salt\Fieldthe field
$value
mixedthe value to display
$format
stringformat to use
$params
array<mixed,mixed>parameter passed to Base->FORM or Base->VIEW method
Constants
prefix for group values when select contain element AND group values
PREFIX_GROUP_VALUE = '__g'