@@ -123,12 +123,12 @@ discard block |
||
123 | 123 | $this->dom->addChild( |
124 | 124 | $ideVinculo, |
125 | 125 | "codCateg", |
126 | - ! empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null, |
|
126 | + !empty($this->std->idevinculo->codcateg) ? $this->std->idevinculo->codcateg : null, |
|
127 | 127 | false |
128 | 128 | ); |
129 | 129 | $this->node->appendChild($ideVinculo); |
130 | 130 | $infoAfastamento = $this->dom->createElement("infoAfastamento"); |
131 | - if (! empty($this->std->iniafastamento)) { |
|
131 | + if (!empty($this->std->iniafastamento)) { |
|
132 | 132 | $iniAfastamento = $this->dom->createElement("iniAfastamento"); |
133 | 133 | $this->dom->addChild( |
134 | 134 | $iniAfastamento, |
@@ -145,19 +145,19 @@ discard block |
||
145 | 145 | $this->dom->addChild( |
146 | 146 | $iniAfastamento, |
147 | 147 | "infoMesmoMtv", |
148 | - ! empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
148 | + !empty($this->std->iniafastamento->infomesmomtv) ? $this->std->iniafastamento->infomesmomtv : null, |
|
149 | 149 | false |
150 | 150 | ); |
151 | 151 | $this->dom->addChild( |
152 | 152 | $iniAfastamento, |
153 | 153 | "tpAcidTransito", |
154 | - ! empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
154 | + !empty($this->std->iniafastamento->tpacidtransito) ? $this->std->iniafastamento->tpacidtransito : null, |
|
155 | 155 | false |
156 | 156 | ); |
157 | 157 | $this->dom->addChild( |
158 | 158 | $iniAfastamento, |
159 | 159 | "observacao", |
160 | - ! empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
160 | + !empty($this->std->iniafastamento->observacao) ? $this->std->iniafastamento->observacao : null, |
|
161 | 161 | false |
162 | 162 | ); |
163 | 163 | if (isset($this->std->iniafastamento->infoatestado)) { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | $this->dom->addChild( |
167 | 167 | $infoAtestado, |
168 | 168 | "codCID", |
169 | - ! empty($info->codcid) ? $info->codcid : null, |
|
169 | + !empty($info->codcid) ? $info->codcid : null, |
|
170 | 170 | false |
171 | 171 | ); |
172 | 172 | $this->dom->addChild( |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | $this->dom->addChild( |
200 | 200 | $emitente, |
201 | 201 | "ufOC", |
202 | - ! empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
202 | + !empty($info->emitente->ufoc) ? $info->emitente->ufoc : null, |
|
203 | 203 | false |
204 | 204 | ); |
205 | 205 | $infoAtestado->appendChild($emitente); |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $iniAfastamento->appendChild($infoAtestado); |
208 | 208 | } |
209 | 209 | } |
210 | - if (! empty($this->std->infocessao)) { |
|
210 | + if (!empty($this->std->infocessao)) { |
|
211 | 211 | $infoCessao = $this->dom->createElement("infoCessao"); |
212 | 212 | $this->dom->addChild( |
213 | 213 | $infoCessao, |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | ); |
224 | 224 | $iniAfastamento->appendChild($infoCessao); |
225 | 225 | } |
226 | - if (! empty($this->std->infomandsind)) { |
|
226 | + if (!empty($this->std->infomandsind)) { |
|
227 | 227 | $infoMandSind = $this->dom->createElement("infoMandSind"); |
228 | 228 | $this->dom->addChild( |
229 | 229 | $infoMandSind, |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | } |
242 | 242 | $infoAfastamento->appendChild($iniAfastamento); |
243 | 243 | } |
244 | - if (! empty($this->std->inforetif)) { |
|
244 | + if (!empty($this->std->inforetif)) { |
|
245 | 245 | $infoRetif = $this->dom->createElement("infoRetif"); |
246 | 246 | $this->dom->addChild( |
247 | 247 | $infoRetif, |
@@ -258,12 +258,12 @@ discard block |
||
258 | 258 | $this->dom->addChild( |
259 | 259 | $infoRetif, |
260 | 260 | "nrProc", |
261 | - ! empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
261 | + !empty($this->std->inforetif->nrproc) ? $this->std->inforetif->nrproc : null, |
|
262 | 262 | false |
263 | 263 | ); |
264 | 264 | $infoAfastamento->appendChild($infoRetif); |
265 | 265 | } |
266 | - if (! empty($this->std->fimafastamento)) { |
|
266 | + if (!empty($this->std->fimafastamento)) { |
|
267 | 267 | $fimAfastamento = $this->dom->createElement("fimAfastamento"); |
268 | 268 | $this->dom->addChild( |
269 | 269 | $fimAfastamento, |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | $this->dom->addChild( |
114 | 114 | $ideRubrica, |
115 | 115 | "fimValid", |
116 | - ! empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
116 | + !empty($this->std->fimvalid) ? $this->std->fimvalid : null, |
|
117 | 117 | false |
118 | 118 | ); |
119 | 119 | //seleção do modo |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | } |
127 | 127 | $node->appendChild($ideRubrica); |
128 | 128 | |
129 | - if (! empty($this->std->dadosrubrica)) { |
|
129 | + if (!empty($this->std->dadosrubrica)) { |
|
130 | 130 | $dadosRubrica = $this->dom->createElement("dadosRubrica"); |
131 | 131 | $this->dom->addChild( |
132 | 132 | $dadosRubrica, |
@@ -173,13 +173,13 @@ discard block |
||
173 | 173 | $this->dom->addChild( |
174 | 174 | $dadosRubrica, |
175 | 175 | "observacao", |
176 | - ! empty($this->std->dadosrubrica->observacao) |
|
176 | + !empty($this->std->dadosrubrica->observacao) |
|
177 | 177 | ? $this->std->dadosrubrica->observacao |
178 | 178 | : null, |
179 | 179 | false |
180 | 180 | ); |
181 | 181 | |
182 | - if (! empty($this->std->dadosrubrica->ideprocessocp)) { |
|
182 | + if (!empty($this->std->dadosrubrica->ideprocessocp)) { |
|
183 | 183 | foreach ($this->std->dadosrubrica->ideprocessocp as $cp) { |
184 | 184 | $ideProcessoCP = $this->dom->createElement("ideProcessoCP"); |
185 | 185 | $this->dom->addChild( |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | } |
211 | 211 | } |
212 | 212 | |
213 | - if (! empty($this->std->dadosrubrica->ideprocessoirrf)) { |
|
213 | + if (!empty($this->std->dadosrubrica->ideprocessoirrf)) { |
|
214 | 214 | foreach ($this->std->dadosrubrica->ideprocessoirrf as $irrf) { |
215 | 215 | $ideProcessoIRRF = $this->dom->createElement("ideProcessoIRRF"); |
216 | 216 | $this->dom->addChild( |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | $dadosRubrica->appendChild($ideProcessoIRRF); |
229 | 229 | } |
230 | 230 | } |
231 | - if (! empty($this->std->dadosrubrica->ideprocessofgts)) { |
|
231 | + if (!empty($this->std->dadosrubrica->ideprocessofgts)) { |
|
232 | 232 | foreach ($this->std->dadosrubrica->ideprocessofgts as $fgts) { |
233 | 233 | $ideProcessoFGTS = $this->dom->createElement("ideProcessoFGTS"); |
234 | 234 | $this->dom->addChild( |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | $dadosRubrica->appendChild($ideProcessoFGTS); |
241 | 241 | } |
242 | 242 | } |
243 | - if (! empty($this->std->dadosrubrica->ideprocessosind)) { |
|
243 | + if (!empty($this->std->dadosrubrica->ideprocessosind)) { |
|
244 | 244 | foreach ($this->std->dadosrubrica->ideprocessosind as $sind) { |
245 | 245 | $ideProcessoSIND = $this->dom->createElement("ideProcessoSIND"); |
246 | 246 | $this->dom->addChild( |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | } |
255 | 255 | $node->appendChild($dadosRubrica); |
256 | 256 | } |
257 | - if (! empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
257 | + if (!empty($this->std->novavalidade) && $this->std->modo == 'ALT') { |
|
258 | 258 | $newVal = $this->std->novavalidade; |
259 | 259 | $novaValidade = $this->dom->createElement("novaValidade"); |
260 | 260 | $this->dom->addChild( |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | $this->dom->addChild( |
267 | 267 | $novaValidade, |
268 | 268 | "fimValid", |
269 | - ! empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
269 | + !empty($newVal->fimvalid) ? $newVal->fimvalid : null, |
|
270 | 270 | false |
271 | 271 | ); |
272 | 272 | $node->appendChild($novaValidade); |