示例#1
0
 /**
  * Constructor
  *
  * 
  * 
  * 
  * @param   string               Filename
  * @param   array $options
  *                   valid options:
  *               debug = 0/1
  *               filter => array(
  *                   tagname => callback
  *   
  *           where callback can be
  *               - toObject|toArary = built in converters
  *               - 'function', array($object,'method') or
  *                 array('class','staticMethod');
  * 
  *
  * @access   public
  */
 function XML_Tree_Morph($filename, $options)
 {
     XML_Tree::XML_Tree($filename, '1.0');
     $this->_morphOptions = $options;
 }