public function write($contents)
	{
		if($this->output != '')
		{
			$this->buffer .= "\t\t\$out->write(" . var_export($this->output, true) .  ");\n";
			$this->output = '';
		}
		
		$this->buffer .= $contents;
	}