Helper to generate a "multi-lingual text field with choice of default language" element

package WebEnq4_Forms

 Methods

mlTextDefaultLanguageElement()

mlTextDefaultLanguageElement(string $name, string $value, string $attribs) : string

Parameters

$name

string

Base name to be used for form variables

$value

string

May contain default values for the text fields for each language code, and "$name-default-language" for the default language

$attribs

string

Should contain ['languages'] with an array of language codes to present

Returns

stringXhtml code for this element

 Properties

 

$_html