@@ -665,7 +665,7 @@ discard block |
||
665 | 665 | } |
666 | 666 | } |
667 | 667 | |
668 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
668 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
669 | 669 | /** |
670 | 670 | * Update DB line fields total_xxx |
671 | 671 | * Used by migration |
@@ -674,7 +674,7 @@ discard block |
||
674 | 674 | */ |
675 | 675 | public function update_total() |
676 | 676 | { |
677 | - // phpcs:enable |
|
677 | + // phpcs:enable |
|
678 | 678 | $this->db->begin(); |
679 | 679 | |
680 | 680 | // Mise a jour ligne en base |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | return $this->LibStatut($this->fk_statut, $this->billed, $mode); |
321 | 321 | } |
322 | 322 | |
323 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
323 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
324 | 324 | /** |
325 | 325 | * Return label of status |
326 | 326 | * |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | */ |
333 | 333 | public function LibStatut($status, $billed, $mode, $donotshowbilled = 0) |
334 | 334 | { |
335 | - // phpcs:enable |
|
335 | + // phpcs:enable |
|
336 | 336 | return $this->getOrderStatic()->LibStatut($status, $billed, $mode, $donotshowbilled); |
337 | 337 | } |
338 | 338 | } |
@@ -323,7 +323,7 @@ discard block |
||
323 | 323 | return $this->LibStatut($this->paye, $this->fk_statut, $mode, $alreadypaid, $this->type); |
324 | 324 | } |
325 | 325 | |
326 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
326 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
327 | 327 | |
328 | 328 | /** |
329 | 329 | * Return label of a status |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | */ |
338 | 338 | public function LibStatut($paye, $status, $mode = 0, $alreadypaid = -1, $type = -1) |
339 | 339 | { |
340 | - // phpcs:enable |
|
340 | + // phpcs:enable |
|
341 | 341 | return $this->getInvoiceStatic()->LibStatut($paye, $status, $mode, $alreadypaid, $type); |
342 | 342 | } |
343 | 343 | } |
@@ -22,11 +22,11 @@ |
||
22 | 22 | |
23 | 23 | use DoliDB; |
24 | 24 | |
25 | - /** |
|
26 | - * \file htdocs/webportal/class/controller.class.php |
|
27 | - * \ingroup webportal |
|
28 | - * \brief File of controller class for WebPortal |
|
29 | - */ |
|
25 | + /** |
|
26 | + * \file htdocs/webportal/class/controller.class.php |
|
27 | + * \ingroup webportal |
|
28 | + * \brief File of controller class for WebPortal |
|
29 | + */ |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Class to manage pages |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | return $this->LibStatut($this->status, $this->need_subscription, $this->datefin, $mode); |
391 | 391 | } |
392 | 392 | |
393 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
393 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
394 | 394 | |
395 | 395 | /** |
396 | 396 | * Renvoi le libelle d'un statut donne |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | */ |
404 | 404 | public function LibStatut($status, $need_subscription, $date_end_subscription, $mode = 0) |
405 | 405 | { |
406 | - // phpcs:enable |
|
406 | + // phpcs:enable |
|
407 | 407 | return $this->getMemberStatic()->LibStatut($status, $need_subscription, $date_end_subscription, $mode); |
408 | 408 | } |
409 | 409 |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | return $this->LibStatut($this->fk_statut, $mode); |
316 | 316 | } |
317 | 317 | |
318 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
318 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
319 | 319 | /** |
320 | 320 | * Return the label of a given status |
321 | 321 | * |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | */ |
326 | 326 | public function LibStatut($status, $mode = 0) |
327 | 327 | { |
328 | - // phpcs:enable |
|
328 | + // phpcs:enable |
|
329 | 329 | return $this->getPropalStatic()->LibStatut($status, $mode); |
330 | 330 | } |
331 | 331 | } |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | return $this->LibStatut($this->status, $mode); |
351 | 351 | } |
352 | 352 | |
353 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
353 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
354 | 354 | |
355 | 355 | /** |
356 | 356 | * Return the status |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | */ |
362 | 362 | public function LibStatut($status, $mode = 0) |
363 | 363 | { |
364 | - // phpcs:enable |
|
364 | + // phpcs:enable |
|
365 | 365 | return $this->getPartnershipStatic()->LibStatut($status, $mode); |
366 | 366 | } |
367 | 367 | } |
@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | return $this->LibStatut($this->status, $mode); |
827 | 827 | } |
828 | 828 | |
829 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
829 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
830 | 830 | /** |
831 | 831 | * Return the label of a given status |
832 | 832 | * |
@@ -836,7 +836,7 @@ discard block |
||
836 | 836 | */ |
837 | 837 | public function LibStatut($status, $mode = 0) |
838 | 838 | { |
839 | - // phpcs:enable |
|
839 | + // phpcs:enable |
|
840 | 840 | global $langs; |
841 | 841 | |
842 | 842 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
@@ -124,8 +124,8 @@ |
||
124 | 124 | */ |
125 | 125 | public $newid; // offline |
126 | 126 | /** |
127 | - * @var array<string,array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array<int,string>,comment?:string}> Array with all fields and their property. Do not use it as a static var. It may be modified by constructor. |
|
128 | - */ |
|
127 | + * @var array<string,array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array<int,string>,comment?:string}> Array with all fields and their property. Do not use it as a static var. It may be modified by constructor. |
|
128 | + */ |
|
129 | 129 | public $fields = array( |
130 | 130 | 'rowid' => array('type' => 'integer', 'label' => 'TechnicalID', 'enabled' => 1, 'visible' => -1, 'notnull' => 1, 'index' => 1, 'position' => 1, 'comment' => 'Id'), |
131 | 131 | 'pageurl' => array('type' => 'varchar(16)', 'label' => 'WEBSITE_PAGENAME', 'enabled' => 1, 'visible' => 1, 'notnull' => 1, 'index' => 1, 'position' => 10, 'searchall' => 1, 'comment' => 'Ref/alias of page'), |