Translation2_Admin::update()
Translation2_Admin::update() -- Update an existing translation.
Synopsis
require_once 'Admin.php'; |
mixed Translation2_Admin::update (string $stringID, string $pageID, array $stringArray)
Beschreibung
Update the language details.
Parameter
- string
$stringID
ID of the string to translate
- string
$pageID
ID of the page (or group) the string to translate belongs to
- array
$stringArray
Associative array with string translations:
array(
'en' => 'sample',
'it' => 'esempio',
); |
Rückgabewert
returns true on success, PEAR_Error on failure
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.