diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index 29d37ca6c06..2352de1e27b 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -1527,9 +1527,10 @@ class Propal extends CommonObject } /** - * \brief Set draft status - * \param user Object user that modify - * \param int <0 if KO, >0 if OK + * Set draft status + * + * @param User $user Object user that modify + * @return int <0 if KO, >0 if OK */ function set_draft($user) { @@ -1550,16 +1551,17 @@ class Propal extends CommonObject /** - * \brief Return list of proposal (eventually filtered on user) into an array - * \param shortlist 0=Return array[id]=ref, 1=Return array[](id=>id,ref=>ref) - * \param draft 0=not draft, 1=draft - * \param notcurrentuser 0=current user, 1=not current user - * \param socid Id third pary - * \param limit For pagination - * \param offset For pagination - * \param sortfield Sort criteria - * \param sortorder Sort order - * \return int -1 if KO, array with result if OK + * Return list of proposal (eventually filtered on user) into an array + * + * @param shortlist 0=Return array[id]=ref, 1=Return array[](id=>id,ref=>ref) + * @param draft 0=not draft, 1=draft + * @param notcurrentuser 0=current user, 1=not current user + * @param socid Id third pary + * @param limit For pagination + * @param offset For pagination + * @param sortfield Sort criteria + * @param sortorder Sort order + * @return int -1 if KO, array with result if OK */ function liste_array($shortlist=0, $draft=0, $notcurrentuser=0, $socid=0, $limit=0, $offset=0, $sortfield='p.datep', $sortorder='DESC') { @@ -1613,8 +1615,9 @@ class Propal extends CommonObject } /** - * \brief Renvoie un tableau contenant les numeros de factures associees - * \return array Tableau des id de factures + * Renvoie un tableau contenant les numeros de factures associees + * + * @return array Tableau des id de factures */ function getInvoiceArrayList() { @@ -1622,9 +1625,10 @@ class Propal extends CommonObject } /** - * \brief Renvoie un tableau contenant les id et ref des factures associees - * \param id Id propal - * \return array Tableau des id de factures + * Renvoie un tableau contenant les id et ref des factures associees + * + * @param int $id Id propal + * @return array Array of invoices id */ function InvoiceArrayList($id) { diff --git a/htdocs/core/class/smtps.class.php b/htdocs/core/class/smtps.class.php index e38891a236e..24ad42c7a78 100755 --- a/htdocs/core/class/smtps.class.php +++ b/htdocs/core/class/smtps.class.php @@ -47,22 +47,16 @@ /** * Version number of Class - * @const SMTPs_VER - * */ define('SMTPs_VER', '1.15', false); /** * SMTPs Success value - * @const SMTPs_SUCCEED - * */ define('SMTPs_SUCCEED', true, false); /** * SMTPs Fail value - * @const SMTPs_FAIL - * */ define('SMTPs_FAIL', false, false); @@ -72,8 +66,6 @@ define('SMTPs_FAIL', false, false); /** * Improper parameters - * @const SMTPs_INVALID_PARAMETERS - * */ define('SMTPs_INVALID_PARAMETERS', 50, false); @@ -2405,10 +2397,13 @@ class SMTPs return $this->_smtpsBoundary; } - // This function has been modified as provided - // by SirSir to allow multiline responses when - // using SMTP Extensions - // + /** + * This function has been modified as provided by SirSir to allow multiline responses when + * using SMTP Extensions + * + * @param $socket + * @param $response + */ function server_parse($socket, $response) { /** @@ -2519,6 +2514,9 @@ class SMTPs /** * $Log: smtps.class.php,v $ + * Revision 1.3 2011/09/12 07:49:59 eldy + * Doxygen + * * Revision 1.2 2011/09/06 06:53:53 hregis * Fix: use dol_hash instead md5 php function *