| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) exit; |
| 3 |
|
| 4 |
class IRP_NewLineText extends IRP_TextContent { |
| 5 |
|
| 6 |
public function __construct() { |
| 7 |
parent::__construct(); |
| 8 |
} |
| 9 |
public function hasTagContent() { |
| 10 |
return FALSE; |
| 11 |
} |
| 12 |
public function append($text) { |
| 13 |
$this->body.=$text; |
| 14 |
} |
| 15 |
public function write(IRP_HTMLContext $context) { |
| 16 |
$context->write($this->body); |
| 17 |
} |
| 18 |
} |
| 19 |
|