This commit is contained in:
Laurent Destailleur 2010-07-21 17:58:22 +00:00
parent a42e0da39d
commit b05468074c
3 changed files with 11 additions and 9 deletions

View File

@ -57,8 +57,10 @@ class Menubase
/**
* \brief Constructor
* \param DB Database handler
* Constructor
* @param DB Database handler
* @param menu_handler
* @param type
*/
function Menubase($DB,$menu_handler='',$type='')
{

View File

@ -129,7 +129,7 @@ class Translate {
* All data in translation array are stored in UTF-8 format.
* \param domain File name to load (.lang file). Use file@module if file is in a module directory.
* \param alt 0 (try xx_ZZ then 1), 1 (try xx_XX then 2), 2 (try en_US or fr_FR or es_ES)
* \param soptafterdirection Stop when the DIRECTION tag is found (optimize)
* \param stopafterdirection Stop when the DIRECTION tag is found (optimize)
* \param forcelangdir To force a lang directory
* \return int <0 if KO, 0 if already loaded, >0 if OK
* \remarks tab_loaded is completed with $domain key.
@ -355,10 +355,10 @@ class Translate {
}
/**
* Enter description here...
* Return translated value of key
*
* @param unknown_type $key
* @return unknown
* @param key
* @return string
*/
function getTradFromKey($key)
{
@ -583,7 +583,7 @@ class Translate {
/**
* \brief Return full text translated to language label for a key. Store key-label in a cache.
* \number number Number to encode in full text
* \param number Number to encode in full text
* \param isamount 1=It's an amount, 0=it's just a number
* \return string Label translated in UTF8 (but without entities)
* 10 if setDefaultLang was en_US => ten

View File

@ -619,8 +619,8 @@ class User extends CommonObject
/**
* \brief Delete the user
* \param int <0 if KO, >0 if OK
* Delete the user
* @return int <0 if KO, >0 if OK
*/
function delete()
{