* @param string filename Filename where to read the XML
* @param string version XML Version to apply
*/
- function XML_Tree($filename = '', $version = '1.0')
+ function __construct($filename = '', $version = '1.0')
{
$this->filename = $filename;
$this->version = $version;
* @access public
*/
- function XML_Tree_Morph($filename,$options) {
+ function __construct($filename,$options) {
- XML_Tree::XML_Tree($filename,'1.0');
+ parent::__construct($filename,'1.0');
$this->_morphOptions = $options;
}