|
Stud.IP
jlu_4.1 Revision
|

Static Public Member Functions | |
| static | input ($name, $value, $attributes=[]) |
| static | inputTmpl ($tmpl, $name, $value, $tmpl_attributes=[]) |
| static | textarea ($name, $value, $attributes=[]) |
| static | textareaTmpl ($tmpl, $name, $value, $tmpl_attributes=[]) |
| static | isEnabled () |
Translation class
Automatic generation of inputs and textareas for i18n
|
static |
Creates a set of HTML input elements for this form element in text form. One element will be generated for each configured content language.
| string | $name | HTML name of the Inputfild |
| I18NString | $value | (Needs to be an i18n input string) |
| array | $attributes | Additional attributes of the input |

|
static |
Returns a widget used in HTML forms to handle translated values in a textline (normally a input form element). The design of this widget has to be defined by the given template.
| Flexi_Template|string | An template or a path to the template file. | |
| string | $name | HTML name of the Inputfild |
| I18NString | $value | (Needs to be an i18n input string) |
| array | $attributes | Additional attributes of the input |

|
static |
Returns whether the i18n functionality is enabeld i.e. more than the default language is configured in config_defaults.inc.php.

|
static |
Create a set of HTML textarea elements for this form element in text form. One element will be generated for each configured content language.
| string | $name | HTML name of the Textarea |
| I18NString | $value | (Needs to be an i18n input string) |
| array | $attributes | Additional attributes of the input |

|
static |
Returns a widget used in HTML forms to handle translated values in a multiline textarea (normally a textarea form element). The design of this widget has to be defined by the given template.
| Flexi_Template | string | $tmpl | An template or a path to the template file. |
| string | $name | HTML name of the Textarea |
| I18NString | $value | (Needs to be an i18n input string) |
| array | $attributes | Additional attributes of the input |
