Translation2_Admin::updateLang
Translation2_Admin::updateLang() – Update the language details.
Synopsis
require_once 'Admin.php';
mixed Translation2_Admin::updateLang (
array $langData
)
Описание
Update the language details.
Parameter
-
array
$langData
-
array(
'lang_id' => 'en',
'table_name' => 'i18n',
'name' => 'english',
'meta' => 'some new meta info',
'error_text' => 'text not available',
'encoding' => 'iso-8859-15',
);
Return value
returns true on success, PEAR_Error on failure
Замечание
This function can not be called statically.