Translation2_Admin::removeLang

Translation2_Admin::removeLang()

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

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.

© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.