@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | abstract class ModelePDFPartnership extends CommonDocGenerator |
41 | 41 | { |
42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | 43 | /** |
44 | 44 | * Return list of active generation modules |
45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
51 | 51 | { |
52 | - // phpcs:enable |
|
52 | + // phpcs:enable |
|
53 | 53 | global $conf; |
54 | 54 | |
55 | 55 | $type = 'partnership'; |
@@ -1100,7 +1100,7 @@ discard block |
||
1100 | 1100 | return $this->LibStatut($this->status, $mode); |
1101 | 1101 | } |
1102 | 1102 | |
1103 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1103 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
1104 | 1104 | /** |
1105 | 1105 | * Return the status |
1106 | 1106 | * |
@@ -1110,7 +1110,7 @@ discard block |
||
1110 | 1110 | */ |
1111 | 1111 | public function LibStatut($status, $mode = 0) |
1112 | 1112 | { |
1113 | - // phpcs:enable |
|
1113 | + // phpcs:enable |
|
1114 | 1114 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
1115 | 1115 | global $langs; |
1116 | 1116 | //$langs->load("partnership"); |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | abstract class ModelePDFRecruitmentCandidature extends CommonDocGenerator |
41 | 41 | { |
42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | 43 | /** |
44 | 44 | * Return list of active generation modules |
45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
51 | 51 | { |
52 | - // phpcs:enable |
|
52 | + // phpcs:enable |
|
53 | 53 | $type = 'recruitmentjobcandidature'; |
54 | 54 | $list = array(); |
55 | 55 |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | abstract class ModelePDFRecruitmentJobPosition extends CommonDocGenerator |
41 | 41 | { |
42 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
42 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
43 | 43 | /** |
44 | 44 | * Return list of active generation modules |
45 | 45 | * |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public static function liste_modeles($db, $maxfilenamelength = 0) |
51 | 51 | { |
52 | - // phpcs:enable |
|
52 | + // phpcs:enable |
|
53 | 53 | $type = 'recruitmentjobposition'; |
54 | 54 | $list = array(); |
55 | 55 |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | } |
175 | 175 | |
176 | 176 | |
177 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
177 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
178 | 178 | /** |
179 | 179 | * Function to build pdf onto disk |
180 | 180 | * |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | */ |
189 | 189 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
190 | 190 | { |
191 | - // phpcs:enable |
|
191 | + // phpcs:enable |
|
192 | 192 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
193 | 193 | global $action; |
194 | 194 | |
@@ -736,7 +736,7 @@ discard block |
||
736 | 736 | } |
737 | 737 | } |
738 | 738 | |
739 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
739 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
740 | 740 | /** |
741 | 741 | * Return list of active generation modules |
742 | 742 | * |
@@ -746,11 +746,11 @@ discard block |
||
746 | 746 | */ |
747 | 747 | public static function liste_modeles($db, $maxfilenamelength = 0) |
748 | 748 | { |
749 | - // phpcs:enable |
|
749 | + // phpcs:enable |
|
750 | 750 | return parent::liste_modeles($db, $maxfilenamelength); // TODO: Change the autogenerated stub |
751 | 751 | } |
752 | 752 | |
753 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
753 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
754 | 754 | /** |
755 | 755 | * Show table for lines |
756 | 756 | * |
@@ -803,7 +803,7 @@ discard block |
||
803 | 803 | } |
804 | 804 | } |
805 | 805 | |
806 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
806 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
807 | 807 | /** |
808 | 808 | * Show top header of page. |
809 | 809 | * |
@@ -1049,7 +1049,7 @@ discard block |
||
1049 | 1049 | return $top_shift; |
1050 | 1050 | } |
1051 | 1051 | |
1052 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1052 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
1053 | 1053 | /** |
1054 | 1054 | * Show footer of page. Need this->emetteur object |
1055 | 1055 | * |
@@ -347,15 +347,15 @@ discard block |
||
347 | 347 | } |
348 | 348 | |
349 | 349 | /** |
350 | - * Create candidature object |
|
351 | - * |
|
352 | - * @param array $request_data Request datas |
|
353 | - * @return int ID of candidature |
|
354 | - * |
|
355 | - * @throws RestException |
|
356 | - * |
|
357 | - * @url POST candidature/ |
|
358 | - */ |
|
350 | + * Create candidature object |
|
351 | + * |
|
352 | + * @param array $request_data Request datas |
|
353 | + * @return int ID of candidature |
|
354 | + * |
|
355 | + * @throws RestException |
|
356 | + * |
|
357 | + * @url POST candidature/ |
|
358 | + */ |
|
359 | 359 | public function postCandidature($request_data = null) |
360 | 360 | { |
361 | 361 | if (!DolibarrApiAccess::$user->hasRight('recruitment', 'recruitmentjobposition', 'write')) { |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | } |
557 | 557 | |
558 | 558 | |
559 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
559 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
560 | 560 | /** |
561 | 561 | * Clean sensible object datas |
562 | 562 | * |
@@ -565,7 +565,7 @@ discard block |
||
565 | 565 | */ |
566 | 566 | protected function _cleanObjectDatas($object) |
567 | 567 | { |
568 | - // phpcs:enable |
|
568 | + // phpcs:enable |
|
569 | 569 | $object = parent::_cleanObjectDatas($object); |
570 | 570 | |
571 | 571 | unset($object->rowid); |
@@ -816,7 +816,7 @@ discard block |
||
816 | 816 | return $this->LibStatut($this->status, $mode); |
817 | 817 | } |
818 | 818 | |
819 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
819 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
820 | 820 | /** |
821 | 821 | * Return the status |
822 | 822 | * |
@@ -826,7 +826,7 @@ discard block |
||
826 | 826 | */ |
827 | 827 | public function LibStatut($status, $mode = 0) |
828 | 828 | { |
829 | - // phpcs:enable |
|
829 | + // phpcs:enable |
|
830 | 830 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
831 | 831 | global $langs; |
832 | 832 | //$langs->load("recruitment@recruitment"); |
@@ -893,7 +893,7 @@ discard block |
||
893 | 893 | return $this->LibStatut($this->status, $mode); |
894 | 894 | } |
895 | 895 | |
896 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
896 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
897 | 897 | /** |
898 | 898 | * Return the status |
899 | 899 | * |
@@ -903,7 +903,7 @@ discard block |
||
903 | 903 | */ |
904 | 904 | public function LibStatut($status, $mode = 0) |
905 | 905 | { |
906 | - // phpcs:enable |
|
906 | + // phpcs:enable |
|
907 | 907 | if (empty($this->labelStatus) || empty($this->labelStatusShort)) { |
908 | 908 | global $langs; |
909 | 909 | //$langs->load("recruitment"); |
@@ -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 | } |