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]])

Описание

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

Параметр

string $langID

Code of the language to remove

boolean $force

Возвращаемое значение

returns true on success, PEAR_Error on failure

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ