芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/lib/geopattern-php/GeoPattern/SVGElements/Base.php
args = $args; } public function elementsToString() { $string = ' '; foreach ($this->elements as $key => $value) { $string .= "$key=\"$value\" "; } return $string; } public function argsToString() { $string = ''; foreach ($this->args as $key => $value) { if (is_array($value)) { $string .= "$key=\""; foreach ($value as $k => $v) { $string .= "$k:$v;"; } $string .= '" '; } else { $string .= "$key=\"$value\" "; } } return $string; } public function getString() { return "<{$this->tag}{$this->elementsToString()}{$this->argsToString()}/>"; } function __toString() { return $this->getString(); } }