Proxy for field access with ViewHelper

internal
package salt\dao

 Methods

Return a string from a ViewHelper

__get(string $fieldName) : string

Parameters

$fieldName

string

the field to format

Returns

stringvalue of $fieldName, can be a non-HTML protected value (if ViewControl::text(), a HTML protected value (if ViewControl::show()) or a HTML form tag (if ViewControl::edit())

Retrieve an instance of _InternalFieldAccess

getInstance(static $object, \salt\BaseViewHelper $helper, string $viewType, mixed $format = NULL) : \salt\_InternalFieldAccess
Static

Parameters

$object

static

the object to use for retrieve field value

$helper

\salt\BaseViewHelper

the helper to delegate

$viewType

string

one of ViewControl::EDIT|SHOW|TEXT

$format

mixed

parameter of VIEW of FORM method

Returns

\salt\_InternalFieldAccessunique instance for the parameters

 Properties