@@ -558,7 +558,7 @@ discard block |
||
| 558 | 558 | return $ret; |
| 559 | 559 | } |
| 560 | 560 | |
| 561 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 561 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 562 | 562 | /** |
| 563 | 563 | * Load this->motherof that is array(id_son=>id_parent, ...) |
| 564 | 564 | * |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | */ |
| 567 | 567 | public function load_motherof() |
| 568 | 568 | { |
| 569 | - // phpcs:enable |
|
| 569 | + // phpcs:enable |
|
| 570 | 570 | global $conf; |
| 571 | 571 | |
| 572 | 572 | $this->motherof = array(); |
@@ -603,7 +603,7 @@ discard block |
||
| 603 | 603 | return $this->LibStatut($this->status, $mode); |
| 604 | 604 | } |
| 605 | 605 | |
| 606 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 606 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 607 | 607 | /** |
| 608 | 608 | * Return the status |
| 609 | 609 | * |
@@ -613,13 +613,13 @@ discard block |
||
| 613 | 613 | */ |
| 614 | 614 | public static function LibStatut($status, $mode = 0) |
| 615 | 615 | { |
| 616 | - // phpcs:enable |
|
| 616 | + // phpcs:enable |
|
| 617 | 617 | global $langs; |
| 618 | 618 | return ''; |
| 619 | 619 | } |
| 620 | 620 | |
| 621 | 621 | |
| 622 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 622 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 623 | 623 | /** |
| 624 | 624 | * Reconstruit l'arborescence des categories sous la forme d'un tableau à partir de la base de donnée |
| 625 | 625 | * Renvoi un tableau de tableau('id','id_mere',...) trie selon arbre et avec: |
@@ -641,7 +641,7 @@ discard block |
||
| 641 | 641 | */ |
| 642 | 642 | public function get_full_arbo($force = 0) |
| 643 | 643 | { |
| 644 | - // phpcs:enable |
|
| 644 | + // phpcs:enable |
|
| 645 | 645 | global $conf; |
| 646 | 646 | |
| 647 | 647 | if (empty($force) && !empty($this->full_arbo_loaded)) { |
@@ -789,7 +789,7 @@ discard block |
||
| 789 | 789 | } |
| 790 | 790 | } |
| 791 | 791 | |
| 792 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 792 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 793 | 793 | /** |
| 794 | 794 | * Call trigger based on this instance. |
| 795 | 795 | * We implement it here because this class doe not extend CommonObject. |
@@ -804,7 +804,7 @@ discard block |
||
| 804 | 804 | */ |
| 805 | 805 | public function call_trigger($triggerName, $user) |
| 806 | 806 | { |
| 807 | - // phpcs:enable |
|
| 807 | + // phpcs:enable |
|
| 808 | 808 | global $langs, $conf; |
| 809 | 809 | |
| 810 | 810 | include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php'; |
@@ -628,7 +628,7 @@ discard block |
||
| 628 | 628 | return $this->LibStatutEvent($this->status, $mode); |
| 629 | 629 | } |
| 630 | 630 | |
| 631 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 631 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 632 | 632 | /** |
| 633 | 633 | * Return the status |
| 634 | 634 | * |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | */ |
| 639 | 639 | public function LibStatutEvent($status, $mode = 0) |
| 640 | 640 | { |
| 641 | - // phpcs:enable |
|
| 641 | + // phpcs:enable |
|
| 642 | 642 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 643 | 643 | global $langs; |
| 644 | 644 | //$langs->load("eventorganization@eventorganization"); |
@@ -804,7 +804,7 @@ discard block |
||
| 804 | 804 | return $this->LibStatut($this->status, $mode); |
| 805 | 805 | } |
| 806 | 806 | |
| 807 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 807 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 808 | 808 | |
| 809 | 809 | /** |
| 810 | 810 | * Return the status |
@@ -815,7 +815,7 @@ discard block |
||
| 815 | 815 | */ |
| 816 | 816 | public function LibStatut($status, $mode = 0) |
| 817 | 817 | { |
| 818 | - // phpcs:enable |
|
| 818 | + // phpcs:enable |
|
| 819 | 819 | if (is_null($status)) { |
| 820 | 820 | return ''; |
| 821 | 821 | } |
@@ -873,7 +873,7 @@ discard block |
||
| 873 | 873 | return $this->LibStatut($this->status, $mode); |
| 874 | 874 | } |
| 875 | 875 | |
| 876 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 876 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 877 | 877 | /** |
| 878 | 878 | * Return the status |
| 879 | 879 | * |
@@ -887,7 +887,7 @@ discard block |
||
| 887 | 887 | $status = 0; |
| 888 | 888 | } |
| 889 | 889 | |
| 890 | - // phpcs:enable |
|
| 890 | + // phpcs:enable |
|
| 891 | 891 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 892 | 892 | global $langs; |
| 893 | 893 | //$langs->load("hrm"); |
@@ -786,7 +786,7 @@ discard block |
||
| 786 | 786 | return $this->LibStatut($this->status, $mode); |
| 787 | 787 | } |
| 788 | 788 | |
| 789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 790 | 790 | /** |
| 791 | 791 | * Return the status |
| 792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
| 796 | 796 | */ |
| 797 | 797 | public function LibStatut($status, $mode = 0) |
| 798 | 798 | { |
| 799 | - // phpcs:enable |
|
| 799 | + // phpcs:enable |
|
| 800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 801 | 801 | global $langs; |
| 802 | 802 | //$langs->load("hrm"); |
@@ -638,7 +638,7 @@ discard block |
||
| 638 | 638 | return $this->LibStatut($this->status, $mode); |
| 639 | 639 | } |
| 640 | 640 | |
| 641 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 641 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 642 | 642 | /** |
| 643 | 643 | * Return the status |
| 644 | 644 | * |
@@ -648,7 +648,7 @@ discard block |
||
| 648 | 648 | */ |
| 649 | 649 | public function LibStatut($status, $mode = 0) |
| 650 | 650 | { |
| 651 | - // phpcs:enable |
|
| 651 | + // phpcs:enable |
|
| 652 | 652 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 653 | 653 | global $langs; |
| 654 | 654 | //$langs->load("mymodule"); |
@@ -786,7 +786,7 @@ discard block |
||
| 786 | 786 | return $this->LibStatut($this->status, $mode); |
| 787 | 787 | } |
| 788 | 788 | |
| 789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 790 | 790 | /** |
| 791 | 791 | * Return the status |
| 792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
| 796 | 796 | */ |
| 797 | 797 | public function LibStatut($status, $mode = 0) |
| 798 | 798 | { |
| 799 | - // phpcs:enable |
|
| 799 | + // phpcs:enable |
|
| 800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 801 | 801 | global $langs; |
| 802 | 802 | //$langs->load("hrm"); |
@@ -786,7 +786,7 @@ discard block |
||
| 786 | 786 | return $this->LibStatut($this->status, $mode); |
| 787 | 787 | } |
| 788 | 788 | |
| 789 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 789 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 790 | 790 | /** |
| 791 | 791 | * Return the status |
| 792 | 792 | * |
@@ -796,7 +796,7 @@ discard block |
||
| 796 | 796 | */ |
| 797 | 797 | public function LibStatut($status, $mode = 0) |
| 798 | 798 | { |
| 799 | - // phpcs:enable |
|
| 799 | + // phpcs:enable |
|
| 800 | 800 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
| 801 | 801 | global $langs; |
| 802 | 802 | //$langs->load("hrm"); |
@@ -833,7 +833,7 @@ discard block |
||
| 833 | 833 | return $this->LibStatut($this->status, $mode); |
| 834 | 834 | } |
| 835 | 835 | |
| 836 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 836 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 837 | 837 | /** |
| 838 | 838 | * Return the status |
| 839 | 839 | * |
@@ -843,7 +843,7 @@ discard block |
||
| 843 | 843 | */ |
| 844 | 844 | public function LibStatut($status, $mode = 0) |
| 845 | 845 | { |
| 846 | - // phpcs:enable |
|
| 846 | + // phpcs:enable |
|
| 847 | 847 | return ''; // There is no status on job profile for the moment |
| 848 | 848 | |
| 849 | 849 | /* |