Description: returns in $params['content'] an alternate content for /projects page and
in $params['content_type'] the actual content-type to return
+ Hook Name : softwaremap_links
+ Parameters : TITLES - A reference to the array of submenu titles
+ URLS - A reference to the array of submenu URLs
+ ATTRS - A reference to the array of submenu attributes
+ Locations : www/include/Layout.class.php
+ Description: Used to provide plugin specific softwaremap submenu link(s)
+
Hook Name : alt_representations
Parameters : $params['script_name'] contains the SCRIPT_NAME (filtered to work only on /projects or /users for the moment)
Description: returns alternate representations for a particular page in $params['results'] which is populated by the hook users
$subMenuAttr[] = array('title' => _('Complete listing of available projects.'), 'class' => 'tabtitle');
}
+ // Allow plugins to add more softwaremap submenu entries
+ $hookParams = array();
+ $hookParams['TITLES'] = & $subMenuTitle;
+ $hookParams['URLS'] = & $subMenuUrl;
+ $hookParams['ATTRS'] = & $subMenuAttr;
+ plugin_hook("softwaremap_links", $hookParams);
+
echo $this->subMenu($subMenuTitle, $subMenuUrl, $subMenuAttr);
}