summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
authorxue <>2006-01-18 02:43:31 +0000
committerxue <>2006-01-18 02:43:31 +0000
commit57b6793551d29bad2b3b89f9a3f77a11682ccb48 (patch)
tree61d1267221c5a605a02aef38ea9bc8b5d483729a /framework/core.php
parent54900d0145dfda07bde40dc6e1f0b31935b55444 (diff)
Updated phpbuilder and the file list. Added pradolite.php.
Diffstat (limited to 'framework/core.php')
-rw-r--r--framework/core.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/framework/core.php b/framework/core.php
index de307cad..57c683b2 100644
--- a/framework/core.php
+++ b/framework/core.php
@@ -771,6 +771,28 @@ class PradoBase
}
}
+class TTextWriter extends TComponent implements ITextWriter
+{
+ private $_str='';
+
+ public function flush()
+ {
+ $str=$this->_str;
+ $this->_str='';
+ return $str;
+ }
+
+ public function write($str)
+ {
+ $this->_str.=$str;
+ }
+
+ public function writeLine($str='')
+ {
+ $this->write($str."\n");
+ }
+}
+
class TDate extends TComponent
{
}