ViewHelper for Credential

package sso\view

 Methods

{@inheritDoc}

edit(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) 
see

Parameters

$object

\salt\Base

object that contains the value

$field

\salt\Field

the field

$value

mixed

the value to edit

$format

string

format to use

$params

array<mixed,mixed>

parameter passed to Base->FORM or Base->VIEW method

{@inheritDoc}

show(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) 
see

Parameters

$object

\salt\Base

object that contains the value

$field

\salt\Field

the field

$value

mixed

the value to display

$format

string

format to use

$params

array<mixed,mixed>

parameter passed to Base->FORM or Base->VIEW method

Improve a select for autocomplete from ajax URL

autocompleteSelect(string $origin, string $url) : string

Add an option "Choose element" to select that will display an overlay with autocomplete field, and selected value is added back to select input

Parameters

$origin

string

name of the autocomplete input

$url

string

ajax URL to request for values

Returns

stringHTML text for add after select for enable autocomplete