mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 19:25:22 +01:00
Doxygen
This commit is contained in:
@@ -47,7 +47,7 @@ class doc_generic_order_odt extends ModelePDFCommandes
|
||||
*
|
||||
* @param DoliDB $db Database handler
|
||||
*/
|
||||
function doc_generic_order_odt($db)
|
||||
function __construct($db)
|
||||
{
|
||||
global $conf,$langs,$mysoc;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ class pdf_edison extends ModelePDFCommandes
|
||||
*
|
||||
* @param DoliDb $db Database access handler
|
||||
*/
|
||||
function pdf_edison($db=0)
|
||||
function __construct($db=0)
|
||||
{
|
||||
global $conf,$langs,$mysoc;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
*
|
||||
* @param DoliDB $DB Database handler
|
||||
*/
|
||||
function pdf_einstein($db)
|
||||
function __construct($db)
|
||||
{
|
||||
global $conf,$langs,$mysoc;
|
||||
|
||||
|
||||
@@ -35,8 +35,10 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
var $nom='Marbre';
|
||||
|
||||
|
||||
/** \brief Return description of numbering module
|
||||
* \return string Text with description
|
||||
/**
|
||||
* Return description of numbering module
|
||||
*
|
||||
* @return string Text with description
|
||||
*/
|
||||
function info()
|
||||
{
|
||||
@@ -45,8 +47,10 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
}
|
||||
|
||||
|
||||
/** \brief Renvoi un exemple de numerotation
|
||||
* \return string Example
|
||||
/**
|
||||
* Renvoi un exemple de numerotation
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
function getExample()
|
||||
{
|
||||
@@ -54,9 +58,11 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
}
|
||||
|
||||
|
||||
/** \brief Test si les numeros deje en vigueur dans la base ne provoquent pas de
|
||||
* de conflits qui empechera cette numerotation de fonctionner.
|
||||
* \return boolean false si conflit, true si ok
|
||||
/**
|
||||
* Test si les numeros deje en vigueur dans la base ne provoquent pas de
|
||||
* de conflits qui empechera cette numerotation de fonctionner.
|
||||
*
|
||||
* @return boolean false si conflit, true si ok
|
||||
*/
|
||||
function canBeActivated()
|
||||
{
|
||||
@@ -86,10 +92,12 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
return true;
|
||||
}
|
||||
|
||||
/** \brief Return next value
|
||||
* \param objsoc Objet third party
|
||||
* \param commande Object order
|
||||
* \return string Value if OK, 0 if KO
|
||||
/**
|
||||
* Return next free value
|
||||
*
|
||||
* @param Societe $objsoc Object thirdparty
|
||||
* @param Object $object Object we need next value for
|
||||
* @return string Value if KO, <0 if KO
|
||||
*/
|
||||
function getNextValue($objsoc,$commande)
|
||||
{
|
||||
|
||||
@@ -39,8 +39,10 @@ class mod_commande_saphir extends ModeleNumRefCommandes
|
||||
var $nom = 'Saphir';
|
||||
|
||||
|
||||
/** \brief Renvoi la description du modele de numerotation
|
||||
* \return string Texte descripif
|
||||
/**
|
||||
* Renvoi la description du modele de numerotation
|
||||
*
|
||||
* @return string Texte descripif
|
||||
*/
|
||||
function info()
|
||||
{
|
||||
@@ -77,8 +79,10 @@ class mod_commande_saphir extends ModeleNumRefCommandes
|
||||
return $texte;
|
||||
}
|
||||
|
||||
/** \brief Renvoi un exemple de numerotation
|
||||
* \return string Example
|
||||
/**
|
||||
* Renvoi un exemple de numerotation
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
function getExample()
|
||||
{
|
||||
@@ -96,11 +100,13 @@ class mod_commande_saphir extends ModeleNumRefCommandes
|
||||
return $numExample;
|
||||
}
|
||||
|
||||
/** \brief Return next value
|
||||
* \param objsoc Objet third party
|
||||
* \param commande Object order
|
||||
* \return string Value if OK, 0 if KO
|
||||
*/
|
||||
/**
|
||||
* Return next free value
|
||||
*
|
||||
* @param Societe $objsoc Object thirdparty
|
||||
* @param Object $object Object we need next value for
|
||||
* @return string Value if KO, <0 if KO
|
||||
*/
|
||||
function getNextValue($objsoc,$commande)
|
||||
{
|
||||
global $db,$conf;
|
||||
|
||||
Reference in New Issue
Block a user