interface of all ViewHelpers.
| package | salt\view |
|---|
column(\salt\Field $field, string $format = NULL) : string
\salt\Fieldthe field to display
stringformat to use for change the output
stringHTML escaped text for describe $field in $formatedit(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) : string
\salt\Baseobject that contains the value
\salt\Fieldthe field
mixedthe value to edit
stringformat to use
array<mixed,mixed>parameter passed to Base->FORM or Base->VIEW method
stringa full HTML form tag (input, select, etc...) for editing the valuegetObject() : \salt\Base
\salt\Basethe objet to work onshow(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) : string
\salt\Baseobject that contains the value
\salt\Fieldthe field
mixedthe value to display
stringformat to use
array<mixed,mixed>parameter passed to Base->FORM or Base->VIEW method
stringa HTML escaped valuetext(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) : string
\salt\Baseobject that contains the value
\salt\Fieldthe field
mixedthe value to display
stringformat to use
array<mixed,mixed>parameter passed to Base->FORM or Base->VIEW method
stringa non-HTML escaped valueRAW = 'raw'