1<?php 2/** 3 * Package for building SVG graphics. 4 * 5 * Copyright 2002-2007 The Horde Project (http://www.horde.org/) 6 * 7 * @author Chuck Hagenbuch <chuck@horde.org> 8 * @package XML_SVG 9 * @license http://www.fsf.org/copyleft/lgpl.html 10 */ 11require_once 'XML/SVG/Element.php'; 12 13/** 14 * XML_SVG_Title 15 * 16 * @package XML_SVG 17*/ 18class XML_SVG_Title extends XML_SVG_Element 19{ 20 21 var $_title; 22 23 function printElement() 24 { 25 echo '<title'; 26 $this->printParams('id', 'style'); 27 print(">\n"); 28 print($this->_title); 29 parent::printElement(); 30 print("</title>\n"); 31 } 32 33} 34 35 36