Stud.IP  5.4
DataFieldSelectboxMultipleEntry Class Reference
Inheritance diagram for DataFieldSelectboxMultipleEntry:
DataFieldSelectboxEntry DataFieldEntry

Public Member Functions

 __construct (DataField $datafield=null, $rangeID='', $value=null)
 getHTML ($name='', $variables=[])
 getDisplayValue ($entities=true)
 setValueFromSubmit ($value)
- Public Member Functions inherited from DataFieldSelectboxEntry
 __construct (DataField $struct=null, $range_id='', $value=null)
 getHTML ($name='', $variables=[])
 getParameters ()
 getDisplayValue ($entities=true)
- Public Member Functions inherited from DataFieldEntry
 __construct (DataField $datafield=null, $rangeID='', $value=null)
 store ()
 isRequired ()
 getDescription ()
 getType ()
 getDisplayValue ($entities=true)
 getValue ()
 getName ()
 getId ()
 getHTML ($name='', $variables=[])
 setValue ($value)
 setValueFromSubmit ($submitted_value)
 setRangeID ($range_id)
 setSecondRangeID ($sec_range_id)
 setContentLanguage ($language)
 isEmpty ()
 isValid ()
 numberOfHTMLFields ()
 getRangeID ()
 getSecondRangeID ()
 isVisible ($perm=null, $test_ownership=true)
 isEditable ($perms=null)
 getPermsDescription ()

Data Fields

const SEPARATOR = '|'
- Data Fields inherited from DataFieldEntry

Additional Inherited Members

- Static Public Member Functions inherited from DataFieldEntry
static getSupportedTypes ($object_type=null)
static createDataFieldEntry (DataField $datafield, $rangeID='', $value=null)
static getDataFieldEntries ($range_id, $object_type='', $object_class_hint='')
static removeAll ($range_id)
- Protected Member Functions inherited from DataFieldEntry
 prettyPrintViewPerms ()
- Protected Attributes inherited from DataFieldSelectboxEntry
 $template = 'selectbox.php'
 $is_assoc_param = false
- Protected Attributes inherited from DataFieldEntry
 $language = ''
 $template = null
- Static Protected Attributes inherited from DataFieldEntry
static $supported_types

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

__construct ( DataField  $datafield = null,
  $rangeID = '',
  $value = null 

Constructs this datafield

DataField$datafieldUnderlying model
String$rangeIDRange id

Member Function Documentation

◆ getDisplayValue()

getDisplayValue (   $entities = true)

Returns the display/rendered value of this datafield

bool$entitiesShould html entities be encoded (defaults to true)
String containg the rendered value

◆ getHTML()

getHTML (   $name = '',
  $variables = [] 

Returns the according input elements as html for this datafield

String$nameName prefix of the associated input
Array$variablesAdditional variables
String containing the required html

◆ setValueFromSubmit()

setValueFromSubmit (   $value)

Sets the value from a post request

mixed$submitted_valueThe value from request

Field Documentation


const SEPARATOR = '|'

The documentation for this class was generated from the following file: