/**
  * fetch modules from repositories
  * @return array
  */
 function get_modules_repositories()
 {
     //$parser = new HW_WXR_Parser ;
     $this->packages = HW_WXR_Parser::read_simplexml_object(HW_HOANGWEB_PLUGINS . '/modules-package.xml');
     /*if(!empty($result->xml->module))
             foreach($result->xml->module as $module) {
     
             }*/
     return !empty($this->packages->xml->module) ? $this->packages->xml->module : array();
 }