@@ -143,13 +143,13 @@ discard block |
||
143 | 143 | $this->dom->addChild( |
144 | 144 | $exame, |
145 | 145 | "procRealizado", |
146 | - ! empty($exam->procrealizado) ? $exam->procrealizado : null, |
|
146 | + !empty($exam->procrealizado) ? $exam->procrealizado : null, |
|
147 | 147 | false |
148 | 148 | ); |
149 | 149 | $this->dom->addChild( |
150 | 150 | $exame, |
151 | 151 | "obsProc", |
152 | - ! empty($exam->obsproc) ? $exam->obsproc : null, |
|
152 | + !empty($exam->obsproc) ? $exam->obsproc : null, |
|
153 | 153 | false |
154 | 154 | ); |
155 | 155 | $this->dom->addChild( |
@@ -173,13 +173,13 @@ discard block |
||
173 | 173 | $this->dom->addChild( |
174 | 174 | $exame, |
175 | 175 | "dtFimMonit", |
176 | - ! empty($exam->dtfimmonit) ? $exam->dtfimmonit : null, |
|
176 | + !empty($exam->dtfimmonit) ? $exam->dtfimmonit : null, |
|
177 | 177 | false |
178 | 178 | ); |
179 | 179 | $this->dom->addChild( |
180 | 180 | $exame, |
181 | 181 | "indResult", |
182 | - ! empty($exam->indresult) ? $exam->indresult : null, |
|
182 | + !empty($exam->indresult) ? $exam->indresult : null, |
|
183 | 183 | false |
184 | 184 | ); |
185 | 185 | $aso->appendChild($exame); |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | $this->dom->addChild( |
202 | 202 | $respMonit, |
203 | 203 | "ufConsClasse", |
204 | - ! empty($this->std->respmonit->ufconsclasse) ? $this->std->respmonit->ufconsclasse : null, |
|
204 | + !empty($this->std->respmonit->ufconsclasse) ? $this->std->respmonit->ufconsclasse : null, |
|
205 | 205 | false |
206 | 206 | ); |
207 | 207 | $exame->appendChild($respMonit); |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | $this->dom->addChild( |
210 | 210 | $ideServSaude, |
211 | 211 | "codCNES", |
212 | - ! empty($this->std->ideservsaude->codcnes) ? $this->std->ideservsaude->codcnes : null, |
|
212 | + !empty($this->std->ideservsaude->codcnes) ? $this->std->ideservsaude->codcnes : null, |
|
213 | 213 | false |
214 | 214 | ); |
215 | 215 | $this->dom->addChild( |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | $this->dom->addChild( |
222 | 222 | $ideServSaude, |
223 | 223 | "email", |
224 | - ! empty($this->std->ideservsaude->email) ? $this->std->ideservsaude->email : null, |
|
224 | + !empty($this->std->ideservsaude->email) ? $this->std->ideservsaude->email : null, |
|
225 | 225 | false |
226 | 226 | ); |
227 | 227 | $aso->appendChild($ideServSaude); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | $this->dom->addChild( |
70 | 70 | $ideEvento, |
71 | 71 | "nrRecArqBase", |
72 | - ! empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
72 | + !empty($this->std->nrrecarqbase) ? $this->std->nrrecarqbase : null, |
|
73 | 73 | false |
74 | 74 | ); |
75 | 75 | $this->dom->addChild( |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | true |
88 | 88 | ); |
89 | 89 | $this->node->appendChild($ideTrabalhador); |
90 | - if (! empty($this->std->vrdeddep)) { |
|
90 | + if (!empty($this->std->vrdeddep)) { |
|
91 | 91 | $infoDep = $this->dom->createElement("infoDep"); |
92 | 92 | $this->dom->addChild( |
93 | 93 | $infoDep, |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | $this->dom->addChild( |
103 | 103 | $infoIrrf, |
104 | 104 | "codCateg", |
105 | - ! empty($nIrrf->codcateg) ? $nIrrf->codcateg : null, |
|
105 | + !empty($nIrrf->codcateg) ? $nIrrf->codcateg : null, |
|
106 | 106 | false |
107 | 107 | ); |
108 | 108 | $this->dom->addChild( |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $this->dom->addChild( |
162 | 162 | $idePais, |
163 | 163 | "nifBenef", |
164 | - ! empty($nIrrf->idepgtoext->nifbenef) ? $nIrrf->idepgtoext->nifbenef : null, |
|
164 | + !empty($nIrrf->idepgtoext->nifbenef) ? $nIrrf->idepgtoext->nifbenef : null, |
|
165 | 165 | false |
166 | 166 | ); |
167 | 167 | $idePgtoExt->appendChild($idePais); |
@@ -176,19 +176,19 @@ discard block |
||
176 | 176 | $this->dom->addChild( |
177 | 177 | $endExt, |
178 | 178 | "nrLograd", |
179 | - ! empty($nIrrf->idepgtoext->nrlograd) ? $nIrrf->idepgtoext->nrlograd : null, |
|
179 | + !empty($nIrrf->idepgtoext->nrlograd) ? $nIrrf->idepgtoext->nrlograd : null, |
|
180 | 180 | false |
181 | 181 | ); |
182 | 182 | $this->dom->addChild( |
183 | 183 | $endExt, |
184 | 184 | "complem", |
185 | - ! empty($nIrrf->idepgtoext->complem) ? $nIrrf->idepgtoext->complem : null, |
|
185 | + !empty($nIrrf->idepgtoext->complem) ? $nIrrf->idepgtoext->complem : null, |
|
186 | 186 | false |
187 | 187 | ); |
188 | 188 | $this->dom->addChild( |
189 | 189 | $endExt, |
190 | 190 | "bairro", |
191 | - ! empty($nIrrf->idepgtoext->bairro) ? $nIrrf->idepgtoext->bairro : null, |
|
191 | + !empty($nIrrf->idepgtoext->bairro) ? $nIrrf->idepgtoext->bairro : null, |
|
192 | 192 | false |
193 | 193 | ); |
194 | 194 | $this->dom->addChild( |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $this->dom->addChild( |
201 | 201 | $endExt, |
202 | 202 | "codPostal", |
203 | - ! empty($nIrrf->idepgtoext->codpostal) ? $nIrrf->idepgtoext->codpostal : null, |
|
203 | + !empty($nIrrf->idepgtoext->codpostal) ? $nIrrf->idepgtoext->codpostal : null, |
|
204 | 204 | false |
205 | 205 | ); |
206 | 206 | $idePgtoExt->appendChild($endExt); |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | $this->dom->addChild( |
122 | 122 | $ideRespInf, |
123 | 123 | "email", |
124 | - ! empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
124 | + !empty($this->std->iderespinf->email) ? $this->std->iderespinf->email : null, |
|
125 | 125 | false |
126 | 126 | ); |
127 | 127 | $this->node->appendChild($ideRespInf); |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->dom->addChild( |
167 | 167 | $infoFech, |
168 | 168 | "compSemMovto", |
169 | - ! empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
169 | + !empty($this->std->infofech->compsemmovto) ? $this->std->infofech->compsemmovto : null, |
|
170 | 170 | false |
171 | 171 | ); |
172 | 172 | $this->node->appendChild($infoFech); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $this->dom->addChild( |
121 | 121 | $ideVinculo, |
122 | 122 | "codCateg", |
123 | - ! empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null, |
|
123 | + !empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null, |
|
124 | 124 | false |
125 | 125 | ); |
126 | 126 | $this->node->appendChild($ideVinculo); |
@@ -141,19 +141,19 @@ discard block |
||
141 | 141 | $this->dom->addChild( |
142 | 142 | $iniAfastamento, |
143 | 143 | "infoMesmoMtv", |
144 | - ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
144 | + !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
145 | 145 | false |
146 | 146 | ); |
147 | 147 | $this->dom->addChild( |
148 | 148 | $iniAfastamento, |
149 | 149 | "tpAcidTransito", |
150 | - ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
150 | + !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
151 | 151 | false |
152 | 152 | ); |
153 | 153 | $this->dom->addChild( |
154 | 154 | $iniAfastamento, |
155 | 155 | "observacao", |
156 | - ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
156 | + !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
157 | 157 | false |
158 | 158 | ); |
159 | 159 | if (isset($this->std->iniafastamento->infoatestado)) { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | $this->dom->addChild( |
163 | 163 | $infoAtestado, |
164 | 164 | "codCID", |
165 | - ! empty($info->codcid) ? $info->codcid : null, |
|
165 | + !empty($info->codcid) ? $info->codcid : null, |
|
166 | 166 | false |
167 | 167 | ); |
168 | 168 | $this->dom->addChild( |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | $this->dom->addChild( |
196 | 196 | $emitente, |
197 | 197 | "ufOC", |
198 | - ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
198 | + !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
199 | 199 | false |
200 | 200 | ); |
201 | 201 | $infoAtestado->appendChild($emitente); |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | $iniAfastamento->appendChild($infoAtestado); |
204 | 204 | } |
205 | 205 | } |
206 | - if (! empty($this->std->infocessao)) { |
|
206 | + if (!empty($this->std->infocessao)) { |
|
207 | 207 | $infoCessao = $this->dom->createElement("infoCessao"); |
208 | 208 | $this->dom->addChild( |
209 | 209 | $infoCessao, |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | ); |
220 | 220 | $iniAfastamento->appendChild($infoCessao); |
221 | 221 | } |
222 | - if (! empty($this->std->infomandsind)) { |
|
222 | + if (!empty($this->std->infomandsind)) { |
|
223 | 223 | $infoMandSind = $this->dom->createElement("infoMandSind"); |
224 | 224 | $this->dom->addChild( |
225 | 225 | $infoMandSind, |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | $iniAfastamento->appendChild($infoMandSind); |
237 | 237 | } |
238 | 238 | $infoAfastamento->appendChild($iniAfastamento); |
239 | - if (! empty($this->std->inforetif)) { |
|
239 | + if (!empty($this->std->inforetif)) { |
|
240 | 240 | $infoRetif = $this->dom->createElement("infoRetif"); |
241 | 241 | $this->dom->addChild( |
242 | 242 | $infoRetif, |
@@ -253,12 +253,12 @@ discard block |
||
253 | 253 | $this->dom->addChild( |
254 | 254 | $infoRetif, |
255 | 255 | "nrProc", |
256 | - ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
256 | + !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
257 | 257 | false |
258 | 258 | ); |
259 | 259 | $infoAfastamento->appendChild($infoRetif); |
260 | 260 | } |
261 | - if (! empty($this->std->fimafastamento)) { |
|
261 | + if (!empty($this->std->fimafastamento)) { |
|
262 | 262 | $fimAfastamento = $this->dom->createElement("fimAfastamento"); |
263 | 263 | $this->dom->addChild( |
264 | 264 | $fimAfastamento, |
@@ -235,8 +235,7 @@ |
||
235 | 235 | $this->dom->addChild( |
236 | 236 | $instEnsino, |
237 | 237 | "bairro", |
238 | - !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro : |
|
239 | - null, |
|
238 | + !empty($this->std->estagiario->instituicao->bairro) ? $this->std->estagiario->instituicao->bairro : null, |
|
240 | 239 | false |
241 | 240 | ); |
242 | 241 | $this->dom->addChild( |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $this->dom->addChild( |
116 | 116 | $ide, |
117 | 117 | "fimValid", |
118 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
118 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
119 | 119 | false |
120 | 120 | ); |
121 | 121 | //seleção do modo |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | $this->dom->addChild( |
133 | 133 | $dados, |
134 | 134 | "indAutoria", |
135 | - ! empty($this->std->dadosproc->indautoria) |
|
135 | + !empty($this->std->dadosproc->indautoria) |
|
136 | 136 | ? $this->std->dadosproc->indautoria |
137 | 137 | : null, |
138 | 138 | false |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | !empty($this->std->dadosproc->observacao) ? $this->std->dadosproc->observacao : null, |
150 | 150 | false |
151 | 151 | ); |
152 | - if (! empty($this->std->dadosproc->dadosprocjud)) { |
|
152 | + if (!empty($this->std->dadosproc->dadosprocjud)) { |
|
153 | 153 | $dadosProcJud = $this->dom->createElement("dadosProcJud"); |
154 | 154 | $this->dom->addChild( |
155 | 155 | $dadosProcJud, |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | ); |
172 | 172 | $dados->appendChild($dadosProcJud); |
173 | 173 | } |
174 | - if (! empty($this->std->dadosproc->infosusp)) { |
|
174 | + if (!empty($this->std->dadosproc->infosusp)) { |
|
175 | 175 | foreach ($this->std->dadosproc->infosusp as $susp) { |
176 | 176 | $infoSusp = $this->dom->createElement("infoSusp"); |
177 | 177 | $this->dom->addChild( |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | } |
204 | 204 | $node->appendChild($dados); |
205 | 205 | |
206 | - if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
206 | + if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
207 | 207 | $newVal = $this->std->novavalidade; |
208 | 208 | $novaValidade = $this->dom->createElement("novaValidade"); |
209 | 209 | $this->dom->addChild( |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | $this->dom->addChild( |
216 | 216 | $ideRubrica, |
217 | 217 | "fimValid", |
218 | - ! empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
218 | + !empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
219 | 219 | false |
220 | 220 | ); |
221 | 221 | $node->appendChild($novaValidade); |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | $this->dom->addChild( |
77 | 77 | $ideEvento, |
78 | 78 | "nrRecibo", |
79 | - ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
79 | + !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null, |
|
80 | 80 | false |
81 | 81 | ); |
82 | 82 | $this->dom->addChild( |
@@ -141,11 +141,11 @@ discard block |
||
141 | 141 | $this->dom->addChild( |
142 | 142 | $detAvPrevio, |
143 | 143 | "observacao", |
144 | - ! empty($this->std->observacao) ? $this->std->observacao : null, |
|
144 | + !empty($this->std->observacao) ? $this->std->observacao : null, |
|
145 | 145 | false |
146 | 146 | ); |
147 | 147 | $infoAvPrevio->appendChild($detAvPrevio); |
148 | - if (! empty($this->std->cancavprevio)) { |
|
148 | + if (!empty($this->std->cancavprevio)) { |
|
149 | 149 | $cancAvPrevio = $this->dom->createElement("cancAvPrevio"); |
150 | 150 | $this->dom->addChild( |
151 | 151 | $cancAvPrevio, |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | $this->dom->addChild( |
157 | 157 | $cancAvPrevio, |
158 | 158 | "observacao", |
159 | - ! empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null, |
|
159 | + !empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null, |
|
160 | 160 | false |
161 | 161 | ); |
162 | 162 | $this->dom->addChild( |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | $this->std->infoexclusao->nrrecevt, |
101 | 101 | true |
102 | 102 | ); |
103 | - if (! empty($this->std->idetrabalhador)) { |
|
103 | + if (!empty($this->std->idetrabalhador)) { |
|
104 | 104 | $ideTrabalhador = $this->dom->createElement("ideTrabalhador"); |
105 | 105 | $this->dom->addChild( |
106 | 106 | $ideTrabalhador, |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | $this->dom->addChild( |
112 | 112 | $ideTrabalhador, |
113 | 113 | "nisTrab", |
114 | - ! empty($this->std->idetrabalhador->nistrab) ? $this->std->idetrabalhador->nistrab : null, |
|
114 | + !empty($this->std->idetrabalhador->nistrab) ? $this->std->idetrabalhador->nistrab : null, |
|
115 | 115 | false |
116 | 116 | ); |
117 | 117 | $infoExclusao->appendChild($ideTrabalhador); |