@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * |
| 46 | 46 | * @param DoliDB $db Database handler |
| 47 | 47 | * @param int $socid Id third party |
| 48 | - * @param mixed $userid Id user for filter or array of user ids |
|
| 48 | + * @param integer $userid Id user for filter or array of user ids |
|
| 49 | 49 | * @return void |
| 50 | 50 | */ |
| 51 | 51 | function __construct($db, $socid=0, $userid=0) |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * Retourne le libelle du statut d'une charge (impaye, payee) |
| 345 | 345 | * |
| 346 | 346 | * @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long |
| 347 | - * @param double $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise) |
|
| 347 | + * @param integer $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise) |
|
| 348 | 348 | * @return string Label |
| 349 | 349 | */ |
| 350 | 350 | function getLibStatut($mode=0,$alreadypaid=-1) |
@@ -357,7 +357,7 @@ discard block |
||
| 357 | 357 | * |
| 358 | 358 | * @param int $statut Id statut |
| 359 | 359 | * @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto |
| 360 | - * @param double $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise) |
|
| 360 | + * @param integer $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommand to put here amount payed if you have it, 1 otherwise) |
|
| 361 | 361 | * @return string Label |
| 362 | 362 | */ |
| 363 | 363 | function LibStatut($statut,$mode=0,$alreadypaid=-1) |
@@ -1285,7 +1285,7 @@ discard block |
||
| 1285 | 1285 | * @param int $info_bits Bits de type de lignes |
| 1286 | 1286 | * @param int $fk_fournprice Fourn price id |
| 1287 | 1287 | * @param int $pa_ht Buying price HT |
| 1288 | - * @param array $array_options extrafields array |
|
| 1288 | + * @param integer $array_options extrafields array |
|
| 1289 | 1289 | * @param string $fk_unit Code of the unit to use. Null to use the default one |
| 1290 | 1290 | * @return int <0 si erreur, >0 si ok |
| 1291 | 1291 | */ |
@@ -1474,7 +1474,7 @@ discard block |
||
| 1474 | 1474 | * @param int $info_bits Bits de type de lignes |
| 1475 | 1475 | * @param int $fk_fournprice Fourn price id |
| 1476 | 1476 | * @param int $pa_ht Buying price HT |
| 1477 | - * @param array $array_options extrafields array |
|
| 1477 | + * @param integer $array_options extrafields array |
|
| 1478 | 1478 | * @param string $fk_unit Code of the unit to use. Null to use the default one |
| 1479 | 1479 | * @return int < 0 si erreur, > 0 si ok |
| 1480 | 1480 | */ |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * @param int $uselocalbrowser Enabled to add links to local object with local browser. If false, only external images can be added in content. |
| 61 | 61 | * @param int $okforextendededitor True=Allow usage of extended editor tool (like fckeditor) |
| 62 | 62 | * @param int $rows Size of rows for textarea tool |
| 63 | - * @param string $cols Size of cols for textarea tool (textarea number of cols '70' or percent 'x%') |
|
| 63 | + * @param integer $cols Size of cols for textarea tool (textarea number of cols '70' or percent 'x%') |
|
| 64 | 64 | * @param int $readonly 0=Read/Edit, 1=Read only |
| 65 | 65 | */ |
| 66 | 66 | function __construct($htmlname,$content,$width='',$height=200,$toolbarname='Basic',$toolbarlocation='In',$toolbarstartexpanded=false,$uselocalbrowser=true,$okforextendededitor=true,$rows=0,$cols=0,$readonly=0) |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * @param string $htmlname Nom de la zone html |
| 51 | 51 | * @param int $maxlength Maximum length of label |
| 52 | 52 | * @param int $showempty Show empty line |
| 53 | - * @return int Nbre of project if OK, <0 if KO |
|
| 53 | + * @return string Nbre of project if OK, <0 if KO |
|
| 54 | 54 | */ |
| 55 | 55 | function select_interventions($socid=-1, $selected='', $htmlname='interventionid', $maxlength=16, $showempty=1) |
| 56 | 56 | { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | * |
| 52 | 52 | * @param CommonObject $object Object we want to get margin information for |
| 53 | 53 | * @param boolean $force_price True of not |
| 54 | - * @return array Array with info |
|
| 54 | + * @return integer Array with info |
|
| 55 | 55 | */ |
| 56 | 56 | function getMarginInfosArray($object, $force_price=false) |
| 57 | 57 | { |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | /** |
| 152 | 152 | * getLastFetchDate |
| 153 | 153 | * |
| 154 | - * @return string |
|
| 154 | + * @return integer |
|
| 155 | 155 | */ |
| 156 | 156 | public function getLastFetchDate() |
| 157 | 157 | { |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | /** |
| 96 | 96 | * Return last error code |
| 97 | 97 | * |
| 98 | - * @return string lasterrno |
|
| 98 | + * @return integer lasterrno |
|
| 99 | 99 | */ |
| 100 | 100 | function lasterrno() |
| 101 | 101 | { |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | * @param int $usesavepoint 0=Default mode, 1=Run a savepoint before and a rollbock to savepoint if error (this allow to have some request with errors inside global transactions). |
| 320 | 320 | * Note that with Mysql, this parameter is not used as Myssql can already commit a transaction even if one request is in error, without using savepoints. |
| 321 | 321 | * @param string $type Type of SQL order ('ddl' for insert, update, select, delete or 'dml' for create, alter...) |
| 322 | - * @return false|resource|true Resultset of answer |
|
| 322 | + * @return resource Resultset of answer |
|
| 323 | 323 | */ |
| 324 | 324 | function query($query,$usesavepoint=0,$type='auto') |
| 325 | 325 | { |
@@ -516,7 +516,7 @@ discard block |
||
| 516 | 516 | * Renvoie le nombre de lignes dans le resultat d'une requete INSERT, DELETE ou UPDATE |
| 517 | 517 | * |
| 518 | 518 | * @param resource $resultset Curseur de la requete voulue |
| 519 | - * @return int Nombre de lignes |
|
| 519 | + * @return string Nombre de lignes |
|
| 520 | 520 | * @see num_rows |
| 521 | 521 | */ |
| 522 | 522 | function affected_rows($resultset) |
@@ -535,7 +535,7 @@ discard block |
||
| 535 | 535 | * Free last resultset used. |
| 536 | 536 | * |
| 537 | 537 | * @param resource $resultset Curseur de la requete voulue |
| 538 | - * @return bool |
|
| 538 | + * @return boolean|null |
|
| 539 | 539 | */ |
| 540 | 540 | function free($resultset=null) |
| 541 | 541 | { |
@@ -1015,7 +1015,7 @@ discard block |
||
| 1015 | 1015 | /** |
| 1016 | 1016 | * Return list of available charset that can be used to store data in database |
| 1017 | 1017 | * |
| 1018 | - * @return array List of Charset |
|
| 1018 | + * @return string List of Charset |
|
| 1019 | 1019 | */ |
| 1020 | 1020 | function getListOfCharacterSet() |
| 1021 | 1021 | { |