Example #1
0
 /**
  * Set information for WooRockets provider
  * @return type
  */
 public static function registerProvider()
 {
     $providers = array();
     $providers[JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/layout/'] = array('path' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/layout/', 'uri' => JUri::root() . '/plugins/system/jsntplframework/libraries/joomlashine/megamenu/shortcodes/layout/', 'name' => 'Layout Elements', 'type' => 'layout', 'shortcode_dir' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/layout', 'js_shortcode_dir' => array('path' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/assets/js/shortcodes/layout', 'uri' => JUri::root() . '/plugins/system/jsntplframework/libraries/joomlashine/megamenu/shortcodes/assets/js/shortcodes/layout'));
     $providers[JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/elements/'] = array('path' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/elements/', 'uri' => JUri::root() . '/plugins/system/jsntplframework/libraries/joomlashine/megamenu/shortcodes/elements/', 'name' => 'Item Elements', 'type' => 'element', 'shortcode_dir' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/elements', 'js_shortcode_dir' => array('path' => JSN_PATH_TPLFRAMEWORK_MEGAMENU_LIBRARIES . '/shortcodes/assets/js/shortcodes/elements', 'uri' => JUri::root() . '/plugins/system/jsntplframework/libraries/joomlashine/megamenu/shortcodes/assets/js/shortcodes/elements'));
     self::$providers = $providers;
 }