previousTranslation2_Admin::updateLang (Previous) (Next) Translation2_Admin::addnext

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::removeLang

Translation2_Admin::removeLang() – Remove the language from the langsAvail table and drop the strings table.

Synopsis

require_once 'Admin.php';

mixed Translation2_Admin::removeLang ( string $langID = null , boolean $force = false )

Description

If the strings table holds other languages and $force ==FALSE, then only the lang column is dropped. If $force ==TRUE, the whole table is dropped without any check

Parameter

string $langID

Code of the language to remove

boolean $force

Return value

returns true on success, PEAR_Error on failure

Note

This function can not be called statically.

previousTranslation2_Admin::updateLang (Previous) (Next) Translation2_Admin::addnext

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.