Source for file ScriptElement.php

Documentation is available at ScriptElement.php

  1. <?php
  2. /**
  3.  * $Source: /cvsroot/svggrapher/svggrapher/elements/ScriptElement.php,v $
  4.  *
  5.  * @version CVS: $Id: ScriptElement.php,v 1.8 2007/10/23 09:22:53 geelweb Exp $
  6.  * @filesource
  7.  * @author Guillaume Luchet. <guillaume@geelweb.org>
  8.  * @copyright Copyright (c) 2007, Guillaume Luchet.
  9.  * @license http://opensource.org/licenses/bsd-license.php BSD License
  10.  * @package SvgGrapher
  11.  * @subpackage Elements
  12.  */
  13.  
  14. /**
  15.  * include parent class
  16.  */
  17. require_once SVGGRAPHER_CLASS_PATH '/XMLElement.php';
  18.  
  19. /**
  20.  * ScriptElement
  21.  *
  22.  * {@link http://www.w3.org/TR/SVG11/script.html#ScriptElement}
  23.  * 
  24.  * @uses XMLElement
  25.  * @version CVS: $Id: ScriptElement.php,v 1.8 2007/10/23 09:22:53 geelweb Exp $
  26.  * @copyright Copyright (c) 2007, Guillaume Luchet
  27.  * @author guillaume luchet <guillaume@geelweb.org>
  28.  * @license http://opensource.org/licenses/bsd-license.php BSD License
  29.  * @package SvgGrapher
  30.  * @subpackage Elements
  31.  */
  32. class ScriptElement extends XMLElement 
  33. {
  34.     /**
  35.      * __construct
  36.      * 
  37.      * @param array $atts tag attributes
  38.      * @access public
  39.      * @return void 
  40.      */
  41.     public function __construct($content=NULL$atts=array()) 
  42.     {
  43.         parent::__construct('script'$atts$content);
  44.     }
  45. }
  46.  
  47. ?>

Documentation generated on Tue, 23 Oct 2007 11:32:05 +0200 by phpDocumentor 1.4.0