previousTranslation2_Admin::remove (Previous) (Next) Translation2_Admin::removePagenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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 )

Description

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',
);

Return value

returns true on success, PEAR_Error on failure

Note

This function can not be called statically.

previousTranslation2_Admin::remove (Previous) (Next) Translation2_Admin::removePagenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.