本文整理汇总了PHP中Section::menu方法的典型用法代码示例。如果您正苦于以下问题:PHP Section::menu方法的具体用法?PHP Section::menu怎么用?PHP Section::menu使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Section
的用法示例。
在下文中一共展示了Section::menu方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: index
public function index()
{
$valida = $this->protect->access_page('INVENTARIO');
$this->plantilla->loadSec("inventario/inventario", $valida, 360000);
$section = new Section();
$tps_index_control['menu'] = $section->menu('INVENTARIO');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}
示例2: perfil
public function perfil()
{
$this->plantilla->load("login/login_perfil");
$section = new Section();
$tps_index_control['menu'] = $section->menu('Profile');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer(false, true, false);
$tps_index_control['PROFILE'] = $this->language->PROFILE;
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}
示例3: index
public function index()
{
$valida = $this->protect->access_page('FDT');
$this->plantilla->loadSec("fdt/fdt", $valida);
$section = new Section();
$tps_index_control['menu'] = $section->menu('FDT');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$this->plantilla->set($tps_index_control);
$this->plantilla->getCache();
}
示例4: index
public function index()
{
$valida = $this->protect->access_page('ADMINISTRACION');
$this->plantilla->loadSec("administracion/administracion", $valida, 36000);
$section = new Section();
$tps_index_control['menu'] = $section->menu('ADMINISTRACION');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$tabs[] = array('title' => $this->language->USERS, 'urlBase' => true, 'href' => 'admin/user', 'protec' => 'ADMINISTRATION_USER');
$tabs[] = array('title' => $this->language->GROUP, 'urlBase' => true, 'href' => 'admin/groups', 'protec' => 'ADMINISTRATION_GROUPS');
$tabs[] = array('title' => $this->language->AUDIT, 'urlBase' => true, 'href' => 'admin/audit', 'protec' => 'ADMINISTRATION_AUDIT');
/* Bmonitor 2.5
$tabs[] = array(
'title' => $this->language->TEMPLATE_LANG,
'urlBase' => true,
'href' => 'admin/template',
'protec' => 'ADMINISTRATION_TEMPLATE'
);
$tabs[] = array(
'title' => $this->language->FIRMWARE,
'urlBase' => true,
'href' => 'admin/firmware',
'protec' => 'ADMINISTRATION_FIRMWARE'
);
$tabs[] = array(
'title' => $this->language->OPTIONS,
'urlBase' => true,
'href' => 'admin/option',
'protec' => 'ADMINISTRATION_OPTION'
);
*/
$tabs[] = array('title' => 'Parametros', 'urlBase' => true, 'href' => 'admin/parameter', 'protec' => 'ADMINISTRATION_PARAM');
/* Bmonitor 2.5
$tabs[] = array(
'title' => 'Feature',
'urlBase' => true,
'href' => 'admin/feature',
'protec' => 'ADMINISTRATION_FEATURE'
);
*/
$tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs, 'tabsAdmin');
$tps_index_control['user_lang'] = $this->language->USER;
$tps_index_control['groups_lang'] = $this->language->GROUPS;
$tps_index_control['page_lang'] = $this->language->PAGINA;
$tps_index_control['audi_lang'] = $this->language->AUDITORIA;
$tps_index_control['templates_lang'] = $this->language->TEMPLATE_LANG;
$tps_index_control['parameters_lang'] = $this->language->PARAMETROS;
$tps_index_control['import_lang'] = $this->language->IMPORT;
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}
示例5: index
public function index()
{
$valida = $this->protect->access_page('NEUTRALIDAD');
$this->plantilla->loadSec("neutralidad/neutralidad", $valida, 65333);
$section = new Section();
$tps_index_control['menu'] = $section->menu('NEUTRALIDAD');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$tps_index_control["NEUTRALITY"] = $this->language->NEUTRALITY;
$tps_index_control["RESUME"] = $this->language->RESUME;
$tps_index_control["WEIGHING"] = $this->language->WEIGHING;
$tps_index_control["EXPORT"] = $this->language->EXPORT;
$tps_index_control["IMPORT"] = $this->language->IMPORT;
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}
示例6: index
public function index()
{
$valida = $this->protect->access_page('CONFIGURACION');
$this->plantilla->loadSec("configuracion/configuracion", $valida, 360000);
$section = new Section();
$tpsIndexControl['menu'] = $section->menu('CONFIGURACION');
$tpsIndexControl['header'] = $section->header();
$tpsIndexControl['footer'] = $section->footer();
$tabs[] = array('title' => $this->language->AGENTS, 'urlBase' => true, 'href' => 'config/cfgSondas', 'protec' => 'CONFIG_AGENT');
/* inutil, deprecado
$tabs[] = array(
'title' => $this->language->MONITORS,
'urlBase' => true,
'href' => 'config/cfgMonitores',
'protec' => 'CONFIG_MONITOR'
);
*/
$tabs[] = array('title' => $this->language->CHARTS, 'urlBase' => true, 'href' => 'config/cfgGraph', 'protec' => 'CONFIG_GRAPH');
$tabs[] = array('title' => $this->language->SCREENS, 'urlBase' => true, 'href' => 'configScreen/cfgPantallas', 'protec' => 'CONFIG_SCREENS');
$tabs[] = array('title' => $this->language->PLAN, 'urlBase' => true, 'href' => 'config/cfgPlanes', 'protec' => 'CONFIG_PLAN');
$tabs[] = array('title' => $this->language->PROFILE, 'urlBase' => true, 'href' => 'profiles2/cfgProfiles', 'protec' => 'CONFIG_PROFILES');
$tabs[] = array('title' => $this->language->GROUPS, 'urlBase' => true, 'href' => 'config/cfgGrupos', 'protec' => 'CONFIG_GROUPS');
$tabs[] = array('title' => $this->language->LOCATION, 'urlBase' => true, 'href' => 'qoe/locations', 'protec' => array("code" => 'CONFIG_LOCATION', "title" => 'Configuration', "description" => "Show Location"));
/* inutul deprecado
$tabs[] = array(
'title' => $this->language->LOCATION,
'urlBase' => true,
'href' => 'config/cfgLocation',
'protec' => 'CONFIG_LOCATION'
);*/
/*
$tabs[] = array(
'title' => $this->language->MAP,
'urlBase' => true,
'href' => 'config/getMaps',
'protec' => 'CONFIG_TABS_MAPS'
);*/
$tpsIndexControl['tabs'] = $this->bmonitor->getTabs($tabs, 'tabsConfigurationHome');
$this->plantilla->set($tpsIndexControl);
$this->plantilla->finalize();
}
示例7: index
public function index()
{
$valida = $this->protect->access_page('QOS-Module');
$this->plantilla->loadSec("qos/index", $valida);
$section = new Section();
$tps_index_control['menu'] = $section->menu('QOS-Module');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$tabs[] = array('title' => $this->language->REPORT, 'urlBase' => true, 'href' => 'qos/report', 'protec' => 'QOS_TAB_REPORT');
/*$tabs[] = array(
'title' => 'Cumplimiento',
'urlBase' => true,
'href' => 'qos/accomplishment',
'protec' => 'QOS_TAB_REPORT'
);*/
$tabs[] = array('title' => $this->language->CONFIGURATION, 'urlBase' => true, 'href' => 'qos/config', 'protec' => 'QOS_TAB_CONFIG');
$tabs[] = array('title' => $this->language->CHARTS, 'urlBase' => true, 'href' => 'qos/graph', 'protec' => 'QOE_TAB_CHARTS');
$tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
$this->plantilla->set($tps_index_control);
$this->plantilla->getCache();
}
示例8: index
public function index()
{
$valida = $this->protect->access_page('QOE', true, 'QoE', 'Section QoE');
$this->plantilla->loadSec("qos/index", $valida, 360000);
$section = new Section();
$tps_index_control['menu'] = $section->menu('QOE');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$tabs[] = array('title' => $this->language->REPORT, 'urlBase' => true, 'href' => 'qoe/report', 'protec' => array("code" => 'QOS_REPORT', "title" => 'QoE', "description" => "Show Report"));
$tabs[] = array('title' => "Speedtest", 'urlBase' => true, 'href' => 'qoe/speedtest', 'protec' => array("code" => 'QOS_SPEED', "title" => 'QoE', "description" => "Show Speedtest"));
$tabs[] = array('title' => "Speedtest - " . $this->language->GROUPED, 'urlBase' => true, 'href' => 'qoe/minticGroups', 'protec' => array("code" => 'QOS_SPEEDGROUPS', "title" => 'QoE', "description" => "Show Speedtest Grouped"));
$tabs[] = array('title' => "Mintic", 'urlBase' => true, 'href' => 'qoe/mintic', 'protec' => array("code" => 'QOS_MINTIC', "title" => 'QoE', "description" => "Show Mintic"));
$tabs[] = array('title' => $this->language->CONFIGURATION, 'urlBase' => true, 'href' => 'qoe/config', 'protec' => array("code" => 'QOS_CONFIG', "title" => 'QoE', "description" => "Show Config"));
/*
$tabs[] = array(
'title' => $this->language->LOCATION,
'urlBase' => true,
'href' => 'qoe/locations',
'protec' => array(
"code" => 'QOS_LOCATION',
"title" => 'QoE',
"description" => "Show Location"
)
);*/
$tabs[] = array('title' => $this->language->EXPORT, 'urlBase' => true, 'href' => 'qoe/exportItems', 'protec' => array("code" => 'QOS_EXPORTITEMS', "title" => 'QoE', "description" => "Show Export"));
/*
$tabs[] = array(
'title' => $this->language->MAP,
'urlBase' => true,
'href' => 'qoe/getMaps',
'protec' => array(
"code" => 'QOS_MAPS',
"title" => 'QoE',
"description" => "Show Maps"
)
);*/
$tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}
示例9: index
public function index()
{
$valida = $this->protect->access_page('INDEX');
if (isset($_SESSION['iduser'])) {
$idUser = $_SESSION['iduser'];
} else {
$idUser = 0;
}
$this->plantilla->loadSec("monitor/monitor", $valida, array("time" => 86400, "code" => $idUser));
$section = new Section();
$tps_index_control['menu'] = $section->menu('INDEX');
$tps_index_control['header'] = $section->header();
$tps_index_control['footer'] = $section->footer();
$tabs[] = array('title' => 'Dashboard', 'urlBase' => true, 'href' => 'monitor/getDashboard', 'protec' => 'INDEX_DASHBOARD');
$tabs[] = array('title' => $this->language->ALERT, 'urlBase' => true, 'href' => 'monitor/alert', 'protec' => 'INDEX_DASHBOARD');
$tabs[] = array('title' => $this->language->LAST_DATE, 'urlBase' => true, 'href' => 'monitor/ultimafecha', 'protec' => 'INDEX_ULTIMAFECHA');
$tabs[] = array('title' => $this->language->GROUPED_CHARTS, 'urlBase' => true, 'href' => 'graphc/getGraphPage', 'protec' => 'INDEX_GRAPH');
$tabs[] = array('title' => $this->language->SIMPLE_CHARTS, 'urlBase' => true, 'href' => 'graphc/getGraphPageNew', 'protec' => 'INDEX_GRAPH');
$tabs[] = array('title' => $this->language->SCREENS, 'urlBase' => true, 'href' => 'graphc/getGraphWindows', 'protec' => 'INDEX_WINDOWS');
$tabs[] = array('title' => $this->language->MAP, 'urlBase' => true, 'href' => 'qoe/getMaps', 'protec' => array("code" => 'INDEX_MAPS', "title" => 'Home', "description" => "Show Maps"));
$tps_index_control['tabs'] = $this->bmonitor->getTabs($tabs);
$this->plantilla->set($tps_index_control);
$this->plantilla->finalize();
}