| @@ 1325-1351 (lines=27) @@ | ||
| 1322 | * |
|
| 1323 | * @return \DOMElement |
|
| 1324 | */ |
|
| 1325 | public function noPeriodoTag($tpPer = '', $dIni = '', $dFim = '') |
|
| 1326 | { |
|
| 1327 | $identificador = '#75 <noPeriodo> - '; |
|
| 1328 | $this->noPeriodo = $this->dom->createElement('noPeriodo'); |
|
| 1329 | $this->dom->addChild( |
|
| 1330 | $this->noPeriodo, |
|
| 1331 | 'tpPer', |
|
| 1332 | $tpPer, |
|
| 1333 | true, |
|
| 1334 | $identificador . 'Tipo de data/perĂodo programado para entrega' |
|
| 1335 | ); |
|
| 1336 | $this->dom->addChild( |
|
| 1337 | $this->noPeriodo, |
|
| 1338 | 'dIni', |
|
| 1339 | $dIni, |
|
| 1340 | true, |
|
| 1341 | $identificador . 'Data inicial' |
|
| 1342 | ); |
|
| 1343 | $this->dom->addChild( |
|
| 1344 | $this->noPeriodo, |
|
| 1345 | 'dFim', |
|
| 1346 | $dFim, |
|
| 1347 | true, |
|
| 1348 | $identificador . 'Data final' |
|
| 1349 | ); |
|
| 1350 | return $this->noPeriodo; |
|
| 1351 | } |
|
| 1352 | ||
| 1353 | /** |
|
| 1354 | * Gera as tags para o elemento: "semHora" (Entrega sem hora definida) |
|
| @@ 1424-1450 (lines=27) @@ | ||
| 1421 | * |
|
| 1422 | * @return \DOMElement |
|
| 1423 | */ |
|
| 1424 | public function noInterTag($tpHor = '', $hIni = '', $hFim = '') |
|
| 1425 | { |
|
| 1426 | $identificador = '#84 <noInter> - '; |
|
| 1427 | $this->noInter = $this->dom->createElement('noInter'); |
|
| 1428 | $this->dom->addChild( |
|
| 1429 | $this->noInter, |
|
| 1430 | 'tpHor', |
|
| 1431 | $tpHor, |
|
| 1432 | true, |
|
| 1433 | $identificador . 'Tipo de hora' |
|
| 1434 | ); |
|
| 1435 | $this->dom->addChild( |
|
| 1436 | $this->noInter, |
|
| 1437 | 'hIni', |
|
| 1438 | $hIni, |
|
| 1439 | true, |
|
| 1440 | $identificador . 'Hora inicial' |
|
| 1441 | ); |
|
| 1442 | $this->dom->addChild( |
|
| 1443 | $this->noInter, |
|
| 1444 | 'hFim', |
|
| 1445 | $hFim, |
|
| 1446 | true, |
|
| 1447 | $identificador . 'Hora final' |
|
| 1448 | ); |
|
| 1449 | return $this->noInter; |
|
| 1450 | } |
|
| 1451 | ||
| 1452 | /** |
|
| 1453 | * Gera as tags para o elemento: "ObsCont" (Campo de uso livre do contribuinte) |
|