|
@@ 2413-2428 (lines=16) @@
|
| 2410 |
|
* @param array $param |
| 2411 |
|
* @return boolean |
| 2412 |
|
*/ |
| 2413 |
|
protected function _tag_open_PAGE_HEADER($param) |
| 2414 |
|
{ |
| 2415 |
|
if ($this->_isForOneLine) return false; |
| 2416 |
|
|
| 2417 |
|
$this->_subHEADER = array(); |
| 2418 |
|
for ($this->_parsePos; $this->_parsePos < count($this->parsingHtml->code); $this->_parsePos++) { |
| 2419 |
|
$action = $this->parsingHtml->code[$this->_parsePos]; |
| 2420 |
|
if ($action['name'] == 'page_header') $action['name'] = 'page_header_sub'; |
| 2421 |
|
$this->_subHEADER[] = $action; |
| 2422 |
|
if (strtolower($action['name']) == 'page_header_sub' && $action['close']) break; |
| 2423 |
|
} |
| 2424 |
|
|
| 2425 |
|
$this->_setPageHeader(); |
| 2426 |
|
|
| 2427 |
|
return true; |
| 2428 |
|
} |
| 2429 |
|
|
| 2430 |
|
/** |
| 2431 |
|
* tag : PAGE_FOOTER |
|
@@ 2437-2452 (lines=16) @@
|
| 2434 |
|
* @param array $param |
| 2435 |
|
* @return boolean |
| 2436 |
|
*/ |
| 2437 |
|
protected function _tag_open_PAGE_FOOTER($param) |
| 2438 |
|
{ |
| 2439 |
|
if ($this->_isForOneLine) return false; |
| 2440 |
|
|
| 2441 |
|
$this->_subFOOTER = array(); |
| 2442 |
|
for ($this->_parsePos; $this->_parsePos < count($this->parsingHtml->code); $this->_parsePos++) { |
| 2443 |
|
$action = $this->parsingHtml->code[$this->_parsePos]; |
| 2444 |
|
if ($action['name'] == 'page_footer') $action['name'] = 'page_footer_sub'; |
| 2445 |
|
$this->_subFOOTER[] = $action; |
| 2446 |
|
if (strtolower($action['name']) == 'page_footer_sub' && $action['close']) break; |
| 2447 |
|
} |
| 2448 |
|
|
| 2449 |
|
$this->_setPageFooter(); |
| 2450 |
|
|
| 2451 |
|
return true; |
| 2452 |
|
} |
| 2453 |
|
|
| 2454 |
|
/** |
| 2455 |
|
* It is not a real tag. Does not use it directly |