DAOConverter for SsoUser

package sso\view
inherited_from \sso\SsoGroupableDAOConverter

 Methods

{@inheritDoc}

column(\salt\Base $object, \salt\Field $field, mixed $value, string $format, mixed $params) 
see
inherited_from \sso\SsoGroupableDAOConverter::column()

Parameters

$object

\salt\Base

The singleton object

$field

\salt\Field

the field to display

$value

mixed

the default value

$format

string

format to use for change the output

$params

mixed

others parameters

{@inheritDoc}

column(\salt\Base $object, \salt\Field $field, mixed $value, string $format, mixed $params) 
Inherited
see

Parameters

$object

\salt\Base

The singleton object

$field

\salt\Field

the field to display

$value

mixed

the default value

$format

string

format to use for change the output

$params

mixed

others parameters

{@inheritDoc}

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

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}

edit(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) 
Inherited
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

Retrieve groups options for a type

getGroupOptions(integer $type, array<mixed,mixed> $contentsByTypeGroup) : array<mixed,mixed>
InheritedStatic

Parameters

$type

integer

SsoGroupElement::TYPE_*

$contentsByTypeGroup

array<mixed,mixed>

[type => [group => ['count' => number, 'tooltip' => text]]]

Returns

array<mixed,mixed>array group => value (for select display)

{@inheritDoc}

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

Parameters

$object

\salt\Base

object that contains the value

$field

\salt\Field

field

$value

mixed

the value to convert

$format

string

the format of the value

$params

array<mixed,mixed>

others parameters passed to convert function

Returns

mixedthe converted value

{@inheritDoc}

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

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

{@inheritDoc}

show(\salt\Base $object, \salt\Field $field, mixed $value, string $format, array<mixed,mixed> $params) 
Inherited
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

{@inheritDoc}

text(\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

 Constants

 

prefix for group values when select contain element AND group values

PREFIX_GROUP_VALUE = '__g'