@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | $this->version_lib = DOL_VERSION; |
62 | 62 | } |
63 | 63 | |
64 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
64 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
65 | 65 | /** |
66 | 66 | * Output title line into file |
67 | 67 | * |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | return parent::write_title($array_export_fields_label, $array_selected_sorted, $outputlangs, $array_types); |
80 | 80 | } |
81 | 81 | |
82 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
82 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
83 | 83 | /** |
84 | 84 | * Output record line into file |
85 | 85 | * |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | return $texte; |
196 | 196 | } |
197 | 197 | |
198 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
198 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
199 | 199 | /** |
200 | 200 | * Function to build a document on disk using the generic odt module. |
201 | 201 | * |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | public function write_file($object, $outputlangs, $srctemplatepath, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
211 | 211 | { |
212 | - // phpcs:enable |
|
212 | + // phpcs:enable |
|
213 | 213 | global $user, $langs, $conf, $mysoc, $hookmanager; |
214 | 214 | |
215 | 215 | if (empty($srctemplatepath)) { |
@@ -235,10 +235,10 @@ |
||
235 | 235 | $id = $ecmdirtmp->create($user); |
236 | 236 | if ($id > 0) { |
237 | 237 | $newdirsql = array('id' => $id, |
238 | - 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | - 'label' => $ecmdirtmp->label, |
|
240 | - 'description' => $ecmdirtmp->description, |
|
241 | - 'fullrelativename' => $relativepathmissing); |
|
238 | + 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | + 'label' => $ecmdirtmp->label, |
|
240 | + 'description' => $ecmdirtmp->description, |
|
241 | + 'fullrelativename' => $relativepathmissing); |
|
242 | 242 | $sqltree[] = $newdirsql; // We complete fulltree for following loops |
243 | 243 | //var_dump($sqltree); |
244 | 244 | $adirwascreated = 1; |
@@ -235,10 +235,10 @@ |
||
235 | 235 | $id = $ecmdirtmp->create($user); |
236 | 236 | if ($id > 0) { |
237 | 237 | $newdirsql = array('id' => $id, |
238 | - 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | - 'label' => $ecmdirtmp->label, |
|
240 | - 'description' => $ecmdirtmp->description, |
|
241 | - 'fullrelativename' => $relativepathmissing); |
|
238 | + 'id_mere' => $ecmdirtmp->fk_parent, |
|
239 | + 'label' => $ecmdirtmp->label, |
|
240 | + 'description' => $ecmdirtmp->description, |
|
241 | + 'fullrelativename' => $relativepathmissing); |
|
242 | 242 | $sqltree[] = $newdirsql; // We complete fulltree for following loops |
243 | 243 | //var_dump($sqltree); |
244 | 244 | $adirwascreated = 1; |
@@ -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"); |