summaryrefslogtreecommitdiff
path: root/framework/Web/UI/THtmlWriter.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/THtmlWriter.php')
-rw-r--r--framework/Web/UI/THtmlWriter.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/Web/UI/THtmlWriter.php b/framework/Web/UI/THtmlWriter.php
index d9c0732b..abfc666c 100644
--- a/framework/Web/UI/THtmlWriter.php
+++ b/framework/Web/UI/THtmlWriter.php
@@ -177,6 +177,11 @@ class THtmlWriter extends TComponent implements ITextWriter
$this->_writer->write($str.self::CHAR_NEWLINE);
}
+ public function writeBreak()
+ {
+ $this->_writer->write('<br/>');
+ }
+
public function writeAttribute($name,$value,$encode=false)
{
$this->_writer->write(' '.$name.='"'.($encode?THttpUtility::htmlEncode($value):$value).'"');