public function __construct($width = null, $height = null) { parent::__construct('svg', array('width', 'height', 'viewBox')); if ($width != null) { $this->set('width', $width); } if ($height != null) { $this->set('height', $height); } }
public function __construct($name = null, $attribute = null) { parent::__construct($name, $attribute); $this->pathDatas = array("+" => new Media_SVG_Path_Data("+"), "-" => new Media_SVG_Path_Data("-")); }