<?php
/**
* class xmlmenuhasboth
* DOMDocument and XSLTProcessor are enabled
*
* @author: johan <barbier_johan@hotmail.com>
*/
class xmlmenuhasboth extends abstractxmlmenu {
/**
* public function __construct
* constructor
* @Param (string) sVersion : xml version
* @Param (string) sEncoding : xml encoding
*/
public function __construct ($sVersion = null, $sEncoding= null) {
$this -> doc = new DOMDocument ($sVersion, $sEncoding);
$root = $this -> doc -> createElement ('menu');
$this -> root = $this -> doc -> appendChild ($root);
parent::__construct ($sVersion, $sEncoding);
}
}
?>
|