10 assert(array_key_exists(
'pre',
$hookinfo));
11 assert(array_key_exists(
'post',
$hookinfo));
12 assert(array_key_exists(
'page',
$hookinfo));
14 $links = array(
'links' => array());
24 $pagesets = $portalConfig->getValue(
'pagesets', array(
25 array(
'frontpage_welcome',
'frontpage_config',
'frontpage_auth',
'frontpage_federation'),
30 if (!$portal->isPortalized(
$hookinfo[
'page']))
return;
36 $hookinfo[
'pre'][] =
'<div id="portalmenu" class="ui-tabs ui-widget ui-widget-content ui-corner-all">' .
38 '<div id="portalcontent" class="ui-tabs-panel ui-widget-content ui-corner-bottom">';
static callHooks($hook, &$data=null)
Call a hook in all enabled modules.
portal_hook_htmlinject(&$hookinfo)
Hook to inject HTML content into all pages...
static getOptionalConfig($filename='config.php', $configSet='simplesaml')
Load a configuration file from a configuration set.