Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
DataFieldBoolEntry Class Reference
Inheritance diagram for DataFieldBoolEntry:
DataFieldEntry

Public Member Functions

 getDisplayValue ($entities=true)
 
 setValueFromSubmit ($submitted_value)
 
- 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 ()
 

Protected Attributes

 $template = 'bool.php'
 
- Protected Attributes inherited from DataFieldEntry
 $language = ''
 
 $template = null
 

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)
 
- Data Fields inherited from DataFieldEntry
 $value
 
 $model
 
 $rangeID
 
- Protected Member Functions inherited from DataFieldEntry
 prettyPrintViewPerms ()
 
- Static Protected Attributes inherited from DataFieldEntry
static $supported_types
 

Detailed Description

Member Function Documentation

getDisplayValue (   $entities = true)

Returns the display/rendered value of this datafield

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

Sets the value from a post request

Parameters
mixed$submitted_valueThe value from request

Field Documentation

$template = 'bool.php'
protected

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