![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
getGoogleLanguage ($lang) | |
Dataface_TranslationForm (&$record, $source=null, $dest=null, $query='', $fieldnames=null) | |
loadRecords () | |
_buildWidget ($field) | |
getFormTemplate () | |
getGroupTemplate ($name) | |
getFieldGroupTemplate ($name) | |
save ($values) | |
display () | |
Data Fields | |
$sourceLanguage = null | |
$destinationLanguage = null | |
$records = array() | |
$_dest_translatedFields | |
$translatableLanguages = array() |
Definition at line 25 of file TranslationForm.php.
_buildWidget | ( | $ | field | ) |
Definition at line 146 of file TranslationForm.php.
Dataface_TranslationForm | ( | &$ | record, |
$ | source = null , |
||
$ | dest = null , |
||
$ | query = '' , |
||
$ | fieldnames = null |
||
) |
Creates a new translation form.
$record | Reference to Dataface_Record object to be translated. |
$source | The 2-digit language code of the source language. |
$dest | The 2-digit language code of the destination language. |
$fieldnames | Optional array of fields that are to be translated. By default all translatable fields will be translated. |
Definition at line 47 of file TranslationForm.php.
display | ( | ) |
Dataface_PermissionsTool::edit($this->_table)
Reimplemented from Dataface_QuickForm.
Definition at line 247 of file TranslationForm.php.
getFieldGroupTemplate | ( | $ | name | ) |
Reimplemented from Dataface_QuickForm.
Definition at line 215 of file TranslationForm.php.
getFormTemplate | ( | ) |
Reimplemented from Dataface_QuickForm.
Definition at line 162 of file TranslationForm.php.
getGoogleLanguage | ( | $ | lang | ) |
Definition at line 33 of file TranslationForm.php.
getGroupTemplate | ( | $ | name | ) |
Reimplemented from Dataface_QuickForm.
Definition at line 196 of file TranslationForm.php.
loadRecords | ( | ) |
Definition at line 101 of file TranslationForm.php.
save | ( | $ | values | ) |
Reimplemented from Dataface_QuickForm.
Definition at line 238 of file TranslationForm.php.
$_dest_translatedFields |
Definition at line 30 of file TranslationForm.php.
$destinationLanguage = null |
Definition at line 28 of file TranslationForm.php.
$records = array() |
Definition at line 29 of file TranslationForm.php.
$sourceLanguage = null |
Definition at line 27 of file TranslationForm.php.
$translatableLanguages = array() |
Definition at line 31 of file TranslationForm.php.