summaryrefslogtreecommitdiff
path: root/framework/Web/UI/THtmlWriter.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-19 22:07:39 +0000
committergodzilla80@gmx.net <>2009-03-19 22:07:39 +0000
commitd634db87d432c87a092f1c4cee69a56914cbaa97 (patch)
tree2a681041b70b22b61f3325725d663d62f8338e50 /framework/Web/UI/THtmlWriter.php
parentde021710e1c0dae732e61ecb42a9ac60440f55ee (diff)
replace array_push() function calls with native language constuct if make sense
Diffstat (limited to 'framework/Web/UI/THtmlWriter.php')
-rw-r--r--framework/Web/UI/THtmlWriter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/THtmlWriter.php b/framework/Web/UI/THtmlWriter.php
index 217b9663..9713d941 100644
--- a/framework/Web/UI/THtmlWriter.php
+++ b/framework/Web/UI/THtmlWriter.php
@@ -232,12 +232,12 @@ class THtmlWriter extends TApplicationComponent implements ITextWriter
if(isset(self::$_simpleTags[$tagName]))
{
$str.=' />';
- array_push($this->_openTags,'');
+ $this->_openTags[] = '';
}
else
{
$str.='>';
- array_push($this->_openTags,$tagName);
+ $this->_openTags[] = $tagName;
}
$this->_writer->write($str);
$this->_attributes=array();