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