Fix: doxygen
This commit is contained in:
parent
559ef44c80
commit
3f1275e190
@ -147,12 +147,12 @@ class langAutoParser {
|
|||||||
/**
|
/**
|
||||||
* Put in array translatedFiles[$file], line of a new tranlated pair
|
* Put in array translatedFiles[$file], line of a new tranlated pair
|
||||||
*
|
*
|
||||||
* @param unknown_type $content Existing content of dest file
|
* @param $content Existing content of dest file
|
||||||
* @param unknown_type $file Target file name translated (xxxx.lang)
|
* @param $file Target file name translated (xxxx.lang)
|
||||||
* @param unknown_type $key Key to translate
|
* @param $key Key to translate
|
||||||
* @param unknown_type $value Existing value in source file
|
* @param $value Existing value in source file
|
||||||
* @param string Language code (ie: fr_FR)
|
* @param string Language code (ie: fr_FR)
|
||||||
* @return int 0=Nothing translated, 1=Record translated
|
* @return int 0=Nothing translated, 1=Record translated
|
||||||
*/
|
*/
|
||||||
private function translateFileLine($content,$file,$key,$value,$mydestLang)
|
private function translateFileLine($content,$file,$key,$value,$mydestLang)
|
||||||
{
|
{
|
||||||
@ -213,8 +213,8 @@ class langAutoParser {
|
|||||||
* Return translation of a value
|
* Return translation of a value
|
||||||
*
|
*
|
||||||
* @param $src_texts Array with one value
|
* @param $src_texts Array with one value
|
||||||
* @param unknown_type $src_lang
|
* @param $src_lang
|
||||||
* @param unknown_type $dest_lang
|
* @param $dest_lang
|
||||||
* @return string Value translated
|
* @return string Value translated
|
||||||
*/
|
*/
|
||||||
private function translateTexts($src_texts = array(), $src_lang, $dest_lang){
|
private function translateTexts($src_texts = array(), $src_lang, $dest_lang){
|
||||||
|
|||||||
@ -26,9 +26,9 @@
|
|||||||
/**
|
/**
|
||||||
* Add area with bookmarks in menu
|
* Add area with bookmarks in menu
|
||||||
*
|
*
|
||||||
* @param unknown_type $aDb
|
* @param $aDb
|
||||||
* @param unknown_type $aLangs
|
* @param $aLangs
|
||||||
* @return unknown
|
* @return string
|
||||||
*/
|
*/
|
||||||
function printBookmarksList ($aDb, $aLangs)
|
function printBookmarksList ($aDb, $aLangs)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -482,17 +482,17 @@ llxFooter('$Date$ - $Revision$');
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Show event of a particular day
|
* Show event of a particular day
|
||||||
*
|
*
|
||||||
* @param unknown_type $db Database handler
|
* @param $db Database handler
|
||||||
* @param unknown_type $day Day
|
* @param $day Day
|
||||||
* @param unknown_type $month Month
|
* @param $month Month
|
||||||
* @param unknown_type $year Year
|
* @param $year Year
|
||||||
* @param unknown_type $monthshown Month shown in calendar view
|
* @param $monthshown Month shown in calendar view
|
||||||
* @param unknown_type $style Style to use for this day
|
* @param $style Style to use for this day
|
||||||
* @param unknown_type $actionarray Array of actions
|
* @param $actionarray Array of actions
|
||||||
* @param unknown_type $maxPrint Nb of actions to show each day on month view (0 means non limit)
|
* @param $maxPrint Nb of actions to show each day on month view (0 means non limit)
|
||||||
* @param unknown_type nbofchartoshow Nb of characters to show for event line
|
* @param nbofchartoshow Nb of characters to show for event line
|
||||||
*/
|
*/
|
||||||
function show_day_events($db, $day, $month, $year, $monthshown, $style, &$actionarray, $maxPrint=0, $nbofchartoshow=14)
|
function show_day_events($db, $day, $month, $year, $monthshown, $style, &$actionarray, $maxPrint=0, $nbofchartoshow=14)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -65,9 +65,8 @@ class Deplacement extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* Create object in database
|
* Create object in database
|
||||||
*
|
*
|
||||||
* @param unknown_type $user User that creat
|
* @param $user User that creat
|
||||||
* @param unknown_type $type Type of record: 0=trip, 1=credit note
|
* @return int <0 if KO, >0 if OK
|
||||||
* @return unknown
|
|
||||||
* @TODO Add ref number
|
* @TODO Add ref number
|
||||||
*/
|
*/
|
||||||
function create($user)
|
function create($user)
|
||||||
|
|||||||
@ -251,8 +251,8 @@ class RemiseCheque extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief Supprime la remise en base
|
* Supprime la remise en base
|
||||||
\param user utilisateur qui effectue l'operation
|
* @param user utilisateur qui effectue l'operation
|
||||||
*/
|
*/
|
||||||
function delete($user='')
|
function delete($user='')
|
||||||
{
|
{
|
||||||
@ -305,8 +305,8 @@ class RemiseCheque extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Validate receipt
|
* Validate receipt
|
||||||
* \param user User
|
* @param user User
|
||||||
*/
|
*/
|
||||||
function validate($user)
|
function validate($user)
|
||||||
{
|
{
|
||||||
@ -446,7 +446,8 @@ class RemiseCheque extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* \brief Build document
|
* \brief Build document
|
||||||
* \param model Model name
|
* \param model Model name
|
||||||
* \return int <0 if KO, >0 if OK
|
* \param outputlangs Object langs
|
||||||
|
* \return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function generatePdf($model='blochet', $outputlangs)
|
function generatePdf($model='blochet', $outputlangs)
|
||||||
{
|
{
|
||||||
@ -527,8 +528,8 @@ class RemiseCheque extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Mets a jour le montant total
|
* \brief Mets a jour le montant total
|
||||||
* \return int, 0 en cas de succes
|
* \return int 0 en cas de succes
|
||||||
*/
|
*/
|
||||||
function updateAmount()
|
function updateAmount()
|
||||||
{
|
{
|
||||||
@ -586,9 +587,9 @@ class RemiseCheque extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\brief Insere la remise en base
|
* \brief Insere la remise en base
|
||||||
\param user utilisateur qui effectue l'operation
|
* \param account_id Compte bancaire concerne
|
||||||
\param account_id Compte bancaire concerne
|
* \return int
|
||||||
*/
|
*/
|
||||||
function removeCheck($account_id)
|
function removeCheck($account_id)
|
||||||
{
|
{
|
||||||
@ -615,8 +616,8 @@ class RemiseCheque extends CommonObject
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
\brief Charge les proprietes ref_previous et ref_next
|
* \brief Charge les proprietes ref_previous et ref_next
|
||||||
\return int <0 si ko, 0 si ok
|
* \return int <0 si ko, 0 si ok
|
||||||
*/
|
*/
|
||||||
function load_previous_next_id()
|
function load_previous_next_id()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -113,9 +113,9 @@ class FormMail
|
|||||||
/**
|
/**
|
||||||
* Add a file into the list of attached files (stored in SECTION array)
|
* Add a file into the list of attached files (stored in SECTION array)
|
||||||
*
|
*
|
||||||
* @param unknown_type $path
|
* @param $path
|
||||||
* @param unknown_type $file
|
* @param $file
|
||||||
* @param unknown_type $type
|
* @param $type
|
||||||
*/
|
*/
|
||||||
function add_attached_files($path,$file,$type)
|
function add_attached_files($path,$file,$type)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -461,10 +461,11 @@ class FormOther
|
|||||||
/**
|
/**
|
||||||
* Write all lines of a project (if parent = 0)
|
* Write all lines of a project (if parent = 0)
|
||||||
*
|
*
|
||||||
* @param unknown_type $inc
|
* @param $inc
|
||||||
* @param unknown_type $parent
|
* @param $parent
|
||||||
* @param unknown_type $lines
|
* @param $lines
|
||||||
* @param unknown_type $level
|
* @param $level
|
||||||
|
* @param $selected
|
||||||
*/
|
*/
|
||||||
function PLineSelect(&$inc, $parent, $lines, $level=0, $selected=0)
|
function PLineSelect(&$inc, $parent, $lines, $level=0, $selected=0)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -188,10 +188,10 @@ llxFooter('$Date$ - $Revision$',0);
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Return cursor on request to find zip/town
|
||||||
*
|
*
|
||||||
* @param unknown_type $table
|
* @param $table
|
||||||
* @return unknown
|
* @return cursor
|
||||||
*/
|
*/
|
||||||
function run_request($table)
|
function run_request($table)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -925,12 +925,12 @@ class CommandeFournisseur extends Commande
|
|||||||
/**
|
/**
|
||||||
* Add a product into a stock warehouse.
|
* Add a product into a stock warehouse.
|
||||||
*
|
*
|
||||||
* @param unknown_type $user
|
* @param $user
|
||||||
* @param unknown_type $product
|
* @param $product
|
||||||
* @param unknown_type $qty
|
* @param $qty
|
||||||
* @param unknown_type $entrepot Id of warehouse to add product
|
* @param $entrepot Id of warehouse to add product
|
||||||
* @param unknown_type $price
|
* @param $price
|
||||||
* @return unknown
|
* @return int <0 if KO, =0 if OK
|
||||||
*/
|
*/
|
||||||
function DispatchProduct($user, $product, $qty, $entrepot, $price=0)
|
function DispatchProduct($user, $product, $qty, $entrepot, $price=0)
|
||||||
{
|
{
|
||||||
@ -988,8 +988,8 @@ class CommandeFournisseur extends Commande
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supprime une ligne de la commande
|
* Delete line
|
||||||
*
|
* @param idligne
|
||||||
*/
|
*/
|
||||||
function delete_line($idligne)
|
function delete_line($idligne)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -624,14 +624,14 @@ llxFooter('$Date$ - $Revision$');
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Connect to FTP server
|
||||||
*
|
*
|
||||||
* @param unknown_type $ftp_server
|
* @param $ftp_server
|
||||||
* @param unknown_type $ftp_port
|
* @param $ftp_port
|
||||||
* @param unknown_type $ftp_user
|
* @param $ftp_user
|
||||||
* @param unknown_type $ftp_password
|
* @param $ftp_password
|
||||||
* @param unknown_type $section
|
* @param $section
|
||||||
* @return unknown
|
* @return int <0 if OK, >0 if KO
|
||||||
*/
|
*/
|
||||||
function dol_ftp_connect($ftp_server, $ftp_port, $ftp_user, $ftp_password, $section)
|
function dol_ftp_connect($ftp_server, $ftp_port, $ftp_user, $ftp_password, $section)
|
||||||
{
|
{
|
||||||
@ -683,9 +683,9 @@ function dol_ftp_connect($ftp_server, $ftp_port, $ftp_user, $ftp_password, $sect
|
|||||||
/**
|
/**
|
||||||
* Tell if an entry is a FTP directory
|
* Tell if an entry is a FTP directory
|
||||||
*
|
*
|
||||||
* @param unknown_type $connect_id
|
* @param $connect_id
|
||||||
* @param unknown_type $dir
|
* @param $dir
|
||||||
* @return unknown
|
* @return
|
||||||
*/
|
*/
|
||||||
function ftp_isdir($connect_id,$dir)
|
function ftp_isdir($connect_id,$dir)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1936,8 +1936,8 @@ function show_elem($fieldssource,$i,$pos,$key,$var,$nostyle='')
|
|||||||
/**
|
/**
|
||||||
* Return not used field number
|
* Return not used field number
|
||||||
*
|
*
|
||||||
* @param unknown_type $listofkey
|
* @param $listofkey
|
||||||
* @return unknown
|
* @return
|
||||||
*/
|
*/
|
||||||
function getnewkey(&$fieldssource,&$listofkey)
|
function getnewkey(&$fieldssource,&$listofkey)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -255,10 +255,10 @@ function conf($dolibarr_main_document_root)
|
|||||||
/**
|
/**
|
||||||
* Show header of install pages
|
* Show header of install pages
|
||||||
*
|
*
|
||||||
* @param unknown_type $soutitre
|
* @param $soutitre
|
||||||
* @param unknown_type $next
|
* @param $next
|
||||||
* @param unknown_type $action
|
* @param $action
|
||||||
* @param unknown_type $param
|
* @param $param
|
||||||
*/
|
*/
|
||||||
function pHeader($soutitre,$next,$action='set',$param='')
|
function pHeader($soutitre,$next,$action='set',$param='')
|
||||||
{
|
{
|
||||||
@ -346,8 +346,8 @@ function pFooter($nonext=0,$setuplang='',$jscheckfunction='')
|
|||||||
/**
|
/**
|
||||||
* Log function for install pages
|
* Log function for install pages
|
||||||
*
|
*
|
||||||
* @param unknown_type $message
|
* @param $message
|
||||||
* @param unknown_type $level
|
* @param $level
|
||||||
*/
|
*/
|
||||||
function dolibarr_install_syslog($message, $level=LOG_DEBUG)
|
function dolibarr_install_syslog($message, $level=LOG_DEBUG)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -611,8 +611,8 @@ class CMailFile
|
|||||||
/**
|
/**
|
||||||
* Correct an uncomplete html string
|
* Correct an uncomplete html string
|
||||||
*
|
*
|
||||||
* @param unknown_type $msg
|
* @param $msg
|
||||||
* @return unknown
|
* @return
|
||||||
*/
|
*/
|
||||||
function checkIfHTML($msg)
|
function checkIfHTML($msg)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -28,18 +28,18 @@
|
|||||||
/**
|
/**
|
||||||
* Show filter form in agenda view
|
* Show filter form in agenda view
|
||||||
*
|
*
|
||||||
* @param unknown_type $canedit
|
* @param $canedit
|
||||||
* @param unknown_type $status
|
* @param $status
|
||||||
* @param unknown_type $year
|
* @param $year
|
||||||
* @param unknown_type $month
|
* @param $month
|
||||||
* @param unknown_type $day
|
* @param $day
|
||||||
* @param unknown_type $showborthday
|
* @param $showborthday
|
||||||
* @param unknown_type $action
|
* @param $action
|
||||||
* @param unknown_type $filtera
|
* @param $filtera
|
||||||
* @param unknown_type $filtert
|
* @param $filtert
|
||||||
* @param unknown_type $filterd
|
* @param $filterd
|
||||||
* @param unknown_type $pid
|
* @param $pid
|
||||||
* @param unknown_type $socid
|
* @param $socid
|
||||||
*/
|
*/
|
||||||
function print_actions_filter($form,$canedit,$status,$year,$month,$day,$showborthday,$action,$filtera,$filtert,$filterd,$pid,$socid)
|
function print_actions_filter($form,$canedit,$status,$year,$month,$day,$showborthday,$action,$filtera,$filtert,$filterd,$pid,$socid)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -146,8 +146,8 @@ function societe_prepare_head($objsoc)
|
|||||||
/**
|
/**
|
||||||
* Return array of tabs to used on page
|
* Return array of tabs to used on page
|
||||||
*
|
*
|
||||||
* @param unknown_type $objsoc
|
* @param $objsoc
|
||||||
* @return unknown
|
* @return
|
||||||
*/
|
*/
|
||||||
function societe_prepare_head2($objsoc)
|
function societe_prepare_head2($objsoc)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1214,10 +1214,10 @@ class Societe extends CommonObject
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enter description here...
|
* Set the price level
|
||||||
*
|
*
|
||||||
* @param unknown_type $price_level
|
* @param $price_level
|
||||||
* @param unknown_type $user
|
* @param $user
|
||||||
*/
|
*/
|
||||||
function set_price_level($price_level, $user)
|
function set_price_level($price_level, $user)
|
||||||
{
|
{
|
||||||
@ -1994,7 +1994,7 @@ class Societe extends CommonObject
|
|||||||
/**
|
/**
|
||||||
* Add a line in log table to save status change.
|
* Add a line in log table to save status change.
|
||||||
*
|
*
|
||||||
* @param unknown_type $id_status
|
* @param $id_status
|
||||||
*/
|
*/
|
||||||
function set_status($id_status)
|
function set_status($id_status)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user