◆ getDisplayValue()
| getDisplayValue |
( |
|
$entities = true | ) |
|
Returns the display/rendered value of this datafield
- Parameters
-
| bool | $entities | Should html entities be encoded (defaults to true) |
- Returns
- String containg the rendered value
Reimplemented from DataFieldEntry.
◆ getHTML()
| getHTML |
( |
|
$name = '', |
|
|
|
$variables = array() |
|
) |
| |
Returns the according input elements as html for this datafield
- Parameters
-
| String | $name | Name prefix of the associated input |
| Array | $variables | Additional variables |
- Returns
- String containing the required html
Reimplemented from DataFieldEntry.
◆ getNumberParts()
Retturns the individual parts of the telephone number. The resulting array is always padded to contain at least three items.
- Returns
- array containing the individual parts.
◆ isEmpty()
Checks if the datafield is empty (was not set)
- Returns
- bool true if empty, else false
Reimplemented from DataFieldEntry.
◆ isValid()
Returns whether the datafield contents are valid
- Returns
- boolean indicating whether the datafield contents are valid
Reimplemented from DataFieldEntry.
◆ numberOfHTMLFields()
Returns the number of html fields this datafield uses for input.
- Returns
- int representing the number of html fields
Reimplemented from DataFieldEntry.
◆ setValueFromSubmit()
| setValueFromSubmit |
( |
|
$value | ) |
|
Sets the value from a post request
- Parameters
-
| mixed | $submitted_value | The value from request |
Reimplemented from DataFieldEntry.
◆ $template
The documentation for this class was generated from the following file: