本文整理汇总了PHP中PageManager::getScriptTags方法的典型用法代码示例。如果您正苦于以下问题:PHP PageManager::getScriptTags方法的具体用法?PHP PageManager::getScriptTags怎么用?PHP PageManager::getScriptTags使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PageManager
的用法示例。
在下文中一共展示了PageManager::getScriptTags方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: header
//ログインページに遷移する
header("Location: /login/login.php");
exit;
}
$user = $user_mgr->getUser();
$page_mgr = new PageManager(PageManager::PAGE_PROSPECT);
$menu_mgr = new MenuManager();
$title = $page_mgr->getTitle();
$organ_id = $user['organ_id'];
$user_id = $user['user_id'];
$tag_options = array('mycss' => true, 'angularjs' => true, 'ngroute' => true, 'nganimate' => true, 'nggrid' => true, 'uirouter' => true, 'jquery1' => true, 'jqueryuilatest' => true, 'jquerydatepicker' => true, 'jquerydatetimepicker' => true, 'jquerymultiselect' => true, 'jquerycookie' => true, 'ngfileupload' => true, 'uplogiccommon' => true, 'list' => true, 'search' => true, 'import' => true, 'activity_history' => true, 'item_setting' => true, 'ngdialog' => true, 'exclusion_smart_admin' => true);
?>
<!DOCTYPE html>
<html lang="ja" ng-app="myApp">
<head>
<?php
echo $page_mgr->getHeader($tag_options);
?>
<?php
echo $page_mgr->getScriptTags($tag_options);
?>
</head>
<body ng-controller="MyCntr" style="overflow-y: auto;">
<?php
echo $page_mgr->getNavigation();
?>
<div class="container common-container">
<div ui-view></div>
</div>
</body>