This commit is contained in:
Laurent Destailleur 2011-09-12 07:46:27 +00:00
parent 63ec448ce2
commit a82261068f
2 changed files with 32 additions and 30 deletions

View File

@ -1527,9 +1527,10 @@ class Propal extends CommonObject
} }
/** /**
* \brief Set draft status * Set draft status
* \param user Object user that modify *
* \param int <0 if KO, >0 if OK * @param User $user Object user that modify
* @return int <0 if KO, >0 if OK
*/ */
function set_draft($user) function set_draft($user)
{ {
@ -1550,16 +1551,17 @@ class Propal extends CommonObject
/** /**
* \brief Return list of proposal (eventually filtered on user) into an array * 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 shortlist 0=Return array[id]=ref, 1=Return array[](id=>id,ref=>ref)
* \param notcurrentuser 0=current user, 1=not current user * @param draft 0=not draft, 1=draft
* \param socid Id third pary * @param notcurrentuser 0=current user, 1=not current user
* \param limit For pagination * @param socid Id third pary
* \param offset For pagination * @param limit For pagination
* \param sortfield Sort criteria * @param offset For pagination
* \param sortorder Sort order * @param sortfield Sort criteria
* \return int -1 if KO, array with result if OK * @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') 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 * Renvoie un tableau contenant les numeros de factures associees
* \return array Tableau des id de factures *
* @return array Tableau des id de factures
*/ */
function getInvoiceArrayList() function getInvoiceArrayList()
{ {
@ -1622,9 +1625,10 @@ class Propal extends CommonObject
} }
/** /**
* \brief Renvoie un tableau contenant les id et ref des factures associees * Renvoie un tableau contenant les id et ref des factures associees
* \param id Id propal *
* \return array Tableau des id de factures * @param int $id Id propal
* @return array Array of invoices id
*/ */
function InvoiceArrayList($id) function InvoiceArrayList($id)
{ {

View File

@ -47,22 +47,16 @@
/** /**
* Version number of Class * Version number of Class
* @const SMTPs_VER
*
*/ */
define('SMTPs_VER', '1.15', false); define('SMTPs_VER', '1.15', false);
/** /**
* SMTPs Success value * SMTPs Success value
* @const SMTPs_SUCCEED
*
*/ */
define('SMTPs_SUCCEED', true, false); define('SMTPs_SUCCEED', true, false);
/** /**
* SMTPs Fail value * SMTPs Fail value
* @const SMTPs_FAIL
*
*/ */
define('SMTPs_FAIL', false, false); define('SMTPs_FAIL', false, false);
@ -72,8 +66,6 @@ define('SMTPs_FAIL', false, false);
/** /**
* Improper parameters * Improper parameters
* @const SMTPs_INVALID_PARAMETERS
*
*/ */
define('SMTPs_INVALID_PARAMETERS', 50, false); define('SMTPs_INVALID_PARAMETERS', 50, false);
@ -2405,10 +2397,13 @@ class SMTPs
return $this->_smtpsBoundary; return $this->_smtpsBoundary;
} }
// This function has been modified as provided /**
// by SirSir to allow multiline responses when * This function has been modified as provided by SirSir to allow multiline responses when
// using SMTP Extensions * using SMTP Extensions
// *
* @param $socket
* @param $response
*/
function server_parse($socket, $response) function server_parse($socket, $response)
{ {
/** /**
@ -2519,6 +2514,9 @@ class SMTPs
/** /**
* $Log: smtps.class.php,v $ * $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 * Revision 1.2 2011/09/06 06:53:53 hregis
* Fix: use dol_hash instead md5 php function * Fix: use dol_hash instead md5 php function
* *