/**
  * Singleton object,call getInstance()
  */
 function __construct()
 {
     parent::__construct();
     $this->m_path =& xPath::getCurrent();
     $mod =& x_getModuleManager();
     $components = $mod->invokeAll('xh_documentComponents', array(&$this->m_path));
     $this->m_components = $components->getValidValues(true);
     $this->m_component_view = new xDocumentView();
 }
 /**
  * {@inheritdoc}
  */
 function __construct(&$path)
 {
     parent::__construct();
     $this->m_path =& $path;
 }