@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Return next value available |
113 | 113 | * |
114 | - * @param Societe $objsoc Object thirdparty |
|
114 | + * @param integer $objsoc Object thirdparty |
|
115 | 115 | * @param int $type Type |
116 | 116 | * @return string Value |
117 | 117 | */ |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | /** Return an example of result returned by getNextValue |
273 | 273 | * |
274 | 274 | * @param Translate $langs Object langs |
275 | - * @param societe $objsoc Object thirdparty |
|
275 | + * @param integer $objsoc Object thirdparty |
|
276 | 276 | * @param int $type Type of third party (1:customer, 2:supplier, -1:autodetect) |
277 | 277 | * @return string Example |
278 | 278 | */ |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | * Create a document onto disk according to template module. |
368 | 368 | * |
369 | 369 | * @param DoliDB $db Database handler |
370 | - * @param Facture $object Object invoice |
|
370 | + * @param Societe $object Object invoice |
|
371 | 371 | * @param string $message Message (not used, deprecated) |
372 | 372 | * @param string $modele Force template to use ('' to not force) |
373 | 373 | * @param Translate $outputlangs objet lang a utiliser pour traduction |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Return next value |
100 | 100 | * |
101 | - * @param Societe $objsoc Object third party |
|
101 | + * @param integer $objsoc Object third party |
|
102 | 102 | * @param Object $object Object |
103 | 103 | * @return string Value if OK, 0 if KO |
104 | 104 | */ |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | /** |
137 | 137 | * Renvoie la reference de commande suivante non utilisee |
138 | 138 | * |
139 | - * @param Societe $objsoc Object third party |
|
139 | + * @param integer $objsoc Object third party |
|
140 | 140 | * @param Object $object Object |
141 | 141 | * @return string Texte descripif |
142 | 142 | */ |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | /** |
103 | 103 | * Return next value |
104 | 104 | * |
105 | - * @param Societe $objsoc Object third party |
|
105 | + * @param integer $objsoc Object third party |
|
106 | 106 | * @param Object $object Object |
107 | 107 | * @return string Value if OK, 0 if KO |
108 | 108 | */ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * Renvoie la reference de commande suivante non utilisee |
132 | 132 | * |
133 | - * @param Societe $objsoc Object third party |
|
133 | + * @param integer $objsoc Object third party |
|
134 | 134 | * @param Object $object Object |
135 | 135 | * @return string Texte descripif |
136 | 136 | */ |
@@ -226,7 +226,7 @@ |
||
226 | 226 | /** |
227 | 227 | * Update database |
228 | 228 | * |
229 | - * @param User $user User that modify |
|
229 | + * @param integer $user User that modify |
|
230 | 230 | * @param int $notrigger 0=launch triggers after, 1=disable triggers |
231 | 231 | * @return int <0 if KO, >0 if OK |
232 | 232 | */ |
@@ -1590,7 +1590,7 @@ discard block |
||
1590 | 1590 | /** |
1591 | 1591 | * Show left menu bar |
1592 | 1592 | * |
1593 | - * @param array $menu_array_before Table of menu entries to show before entries of menu handler. This param is deprectaed and must be provided to ''. |
|
1593 | + * @param string $menu_array_before Table of menu entries to show before entries of menu handler. This param is deprectaed and must be provided to ''. |
|
1594 | 1594 | * @param string $helppagename Name of wiki page for help ('' by default). |
1595 | 1595 | * Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage |
1596 | 1596 | * For other external page: http://server/url |
@@ -1598,7 +1598,7 @@ discard block |
||
1598 | 1598 | * @param array $menu_array_after Table of menu entries to show after entries of menu handler |
1599 | 1599 | * @param int $leftmenuwithoutmainarea Must be set to 1. 0 by default for backward compatibility with old modules. |
1600 | 1600 | * @param string $title Title of web page |
1601 | - * @param string $acceptdelayedhtml 1 if caller request to have html delayed content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect) |
|
1601 | + * @param integer $acceptdelayedhtml 1 if caller request to have html delayed content not returned but saved into global $delayedhtmlcontent (so caller can show it at end of page to avoid flash FOUC effect) |
|
1602 | 1602 | * @return void |
1603 | 1603 | */ |
1604 | 1604 | function left_menu($menu_array_before, $helppagename='', $notused='', $menu_array_after='', $leftmenuwithoutmainarea=0, $title='', $acceptdelayedhtml=0) |
@@ -507,7 +507,7 @@ |
||
507 | 507 | /** |
508 | 508 | * Update object into database |
509 | 509 | * |
510 | - * @param User $user that modifies |
|
510 | + * @param integer $user that modifies |
|
511 | 511 | * @param int $notrigger triggers after, 1=disable triggers |
512 | 512 | * @param int $forceupdateaffiliate update price on each soc child |
513 | 513 | * @return int <0 if KO, >0 if OK |
@@ -297,7 +297,7 @@ |
||
297 | 297 | /** |
298 | 298 | * Update object into database |
299 | 299 | * |
300 | - * @param User $user User that modifies |
|
300 | + * @param integer $user User that modifies |
|
301 | 301 | * @param int $notrigger 0=launch triggers after, 1=disable triggers |
302 | 302 | * @return int <0 if KO, >0 if OK |
303 | 303 | */ |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | /** |
169 | 169 | * Update object into database |
170 | 170 | * |
171 | - * @param User $user User that modifies |
|
171 | + * @param integer $user User that modifies |
|
172 | 172 | * @param int $notrigger 0=launch triggers after, 1=disable triggers |
173 | 173 | * @return int <0 if KO, >0 if OK |
174 | 174 | */ |
@@ -539,7 +539,7 @@ discard block |
||
539 | 539 | * Update next_update into database |
540 | 540 | * |
541 | 541 | * @param string $next_update Next update to write |
542 | - * @param User $user User that modifies |
|
542 | + * @param integer $user User that modifies |
|
543 | 543 | * @param int $notrigger 0=launch triggers after, 1=disable triggers |
544 | 544 | * @return int <0 if KO, >0 if OK |
545 | 545 | */ |
@@ -583,7 +583,7 @@ discard block |
||
583 | 583 | * Update last_status into database |
584 | 584 | * |
585 | 585 | * @param string $last_status Status to write |
586 | - * @param User $user User that modifies |
|
586 | + * @param integer $user User that modifies |
|
587 | 587 | * @param int $notrigger 0=launch triggers after, 1=disable triggers |
588 | 588 | * @return int <0 if KO, >0 if OK |
589 | 589 | */ |
@@ -1577,7 +1577,7 @@ discard block |
||
1577 | 1577 | * @param float $remise Amount of discount |
1578 | 1578 | * @param User $user User adding discount |
1579 | 1579 | * @param string $desc Reason of discount |
1580 | - * @param float $tva_tx VAT rate |
|
1580 | + * @param integer $tva_tx VAT rate |
|
1581 | 1581 | * @return int <0 if KO, id of discount record if OK |
1582 | 1582 | */ |
1583 | 1583 | function set_remise_except($remise, User $user, $desc, $tva_tx=0) |
@@ -2235,7 +2235,7 @@ discard block |
||
2235 | 2235 | * Attribut un code client a partir du module de controle des codes. |
2236 | 2236 | * Return value is stored into this->code_client |
2237 | 2237 | * |
2238 | - * @param Societe $objsoc Object thirdparty |
|
2238 | + * @param integer $objsoc Object thirdparty |
|
2239 | 2239 | * @param int $type Should be 0 to say customer |
2240 | 2240 | * @return void |
2241 | 2241 | */ |
@@ -2265,7 +2265,7 @@ discard block |
||
2265 | 2265 | * Attribut un code fournisseur a partir du module de controle des codes. |
2266 | 2266 | * Return value is stored into this->code_fournisseur |
2267 | 2267 | * |
2268 | - * @param Societe $objsoc Object thirdparty |
|
2268 | + * @param integer $objsoc Object thirdparty |
|
2269 | 2269 | * @param int $type Should be 1 to say supplier |
2270 | 2270 | * @return void |
2271 | 2271 | */ |
@@ -2806,7 +2806,7 @@ discard block |
||
2806 | 2806 | /** |
2807 | 2807 | * Return if third party is a company (Business) or an end user (Consumer) |
2808 | 2808 | * |
2809 | - * @return boolean true=is a company, false=a and user |
|
2809 | + * @return integer true=is a company, false=a and user |
|
2810 | 2810 | */ |
2811 | 2811 | function isACompany() |
2812 | 2812 | { |