|
@@ 344-346 (lines=3) @@
|
| 341 |
|
if (isset($this->_[HDOM_INFO_INNER])) { |
| 342 |
|
return $this->_[HDOM_INFO_INNER]; |
| 343 |
|
} |
| 344 |
|
if (isset($this->_[HDOM_INFO_TEXT])) { |
| 345 |
|
return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); |
| 346 |
|
} |
| 347 |
|
|
| 348 |
|
$ret = ''; |
| 349 |
|
foreach ($this->nodes as $n) { |
|
@@ 381-383 (lines=3) @@
|
| 378 |
|
if (isset($this->_[HDOM_INFO_OUTER])) { |
| 379 |
|
return $this->_[HDOM_INFO_OUTER]; |
| 380 |
|
} |
| 381 |
|
if (isset($this->_[HDOM_INFO_TEXT])) { |
| 382 |
|
return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); |
| 383 |
|
} |
| 384 |
|
|
| 385 |
|
// render begin tag |
| 386 |
|
if ($this->dom && $this->dom->nodes[$this->_[HDOM_INFO_BEGIN]]) { |
|
@@ 460-462 (lines=3) @@
|
| 457 |
|
public function makeup() |
| 458 |
|
{ |
| 459 |
|
// text, comment, unknown |
| 460 |
|
if (isset($this->_[HDOM_INFO_TEXT])) { |
| 461 |
|
return $this->dom->restore_noise($this->_[HDOM_INFO_TEXT]); |
| 462 |
|
} |
| 463 |
|
|
| 464 |
|
$ret = '<'.$this->tag; |
| 465 |
|
$i = -1; |