|
@@ 2392-2407 (lines=16) @@
|
| 2389 |
|
* @param array $param |
| 2390 |
|
* @return boolean |
| 2391 |
|
*/ |
| 2392 |
|
protected function _tag_open_PAGE_HEADER($param) |
| 2393 |
|
{ |
| 2394 |
|
if ($this->_isForOneLine) return false; |
| 2395 |
|
|
| 2396 |
|
$this->_subHEADER = array(); |
| 2397 |
|
for ($this->_parsePos; $this->_parsePos<count($this->parsingHtml->code); $this->_parsePos++) { |
| 2398 |
|
$action = $this->parsingHtml->code[$this->_parsePos]; |
| 2399 |
|
if ($action['name']=='page_header') $action['name']='page_header_sub'; |
| 2400 |
|
$this->_subHEADER[] = $action; |
| 2401 |
|
if (strtolower($action['name'])=='page_header_sub' && $action['close']) break; |
| 2402 |
|
} |
| 2403 |
|
|
| 2404 |
|
$this->_setPageHeader(); |
| 2405 |
|
|
| 2406 |
|
return true; |
| 2407 |
|
} |
| 2408 |
|
|
| 2409 |
|
/** |
| 2410 |
|
* tag : PAGE_FOOTER |
|
@@ 2416-2431 (lines=16) @@
|
| 2413 |
|
* @param array $param |
| 2414 |
|
* @return boolean |
| 2415 |
|
*/ |
| 2416 |
|
protected function _tag_open_PAGE_FOOTER($param) |
| 2417 |
|
{ |
| 2418 |
|
if ($this->_isForOneLine) return false; |
| 2419 |
|
|
| 2420 |
|
$this->_subFOOTER = array(); |
| 2421 |
|
for ($this->_parsePos; $this->_parsePos<count($this->parsingHtml->code); $this->_parsePos++) { |
| 2422 |
|
$action = $this->parsingHtml->code[$this->_parsePos]; |
| 2423 |
|
if ($action['name']=='page_footer') $action['name']='page_footer_sub'; |
| 2424 |
|
$this->_subFOOTER[] = $action; |
| 2425 |
|
if (strtolower($action['name'])=='page_footer_sub' && $action['close']) break; |
| 2426 |
|
} |
| 2427 |
|
|
| 2428 |
|
$this->_setPageFooter(); |
| 2429 |
|
|
| 2430 |
|
return true; |
| 2431 |
|
} |
| 2432 |
|
|
| 2433 |
|
/** |
| 2434 |
|
* It is not a real tag. Does not use it directly |