当前位置: 首页>>代码示例>>PHP>>正文


PHP MetaTagManager::getWindowTitle方法代码示例

本文整理汇总了PHP中MetaTagManager::getWindowTitle方法的典型用法代码示例。如果您正苦于以下问题:PHP MetaTagManager::getWindowTitle方法的具体用法?PHP MetaTagManager::getWindowTitle怎么用?PHP MetaTagManager::getWindowTitle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在MetaTagManager的用法示例。


在下文中一共展示了MetaTagManager::getWindowTitle方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: print

	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>

	<script type="text/javascript">window.caBasePath = '<?php 
print $this->request->getBaseUrlPath();
?>
';</script>
		
	<?php 
print MetaTagManager::getHTML();
?>
	<?php 
print AssetLoadManager::getLoadHTML($this->request);
?>

	<title><?php 
print ($vs_page_title = MetaTagManager::getWindowTitle()) ? $vs_page_title : "New School Archives : Digital Collections";
?>
</title>
	
	<!--NS design-->
	<script type="text/javascript" src="//use.typekit.net/cvi0qyc.js"></script>
	<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
	<!--end NS design-->

	<script type="text/javascript">
		jQuery(document).ready(function() {
    		jQuery('#browse-menu').on('click mouseover mouseout mousemove mouseenter hide.bs.dropdown',function(e) { e.stopPropagation(); });
    	});
	</script>
	<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
开发者ID:ffarago,项目名称:pawtucket2,代码行数:31,代码来源:pageHeader.php

示例2:

	</script>
	
	<script type="text/javascript">window.caBasePath = '<?php 
print $this->request->getBaseUrlPath();
?>
';</script>

	<?php 
print MetaTagManager::getHTML();
?>
	<?php 
print AssetLoadManager::getLoadHTML($this->request);
?>

	<title><?php 
print MetaTagManager::getWindowTitle() ? MetaTagManager::getWindowTitle() : $this->request->config->get("app_display_name");
?>
</title>
	
	<script type="text/javascript">
		jQuery(document).ready(function() {
    		jQuery('#browse-menu').on('click mouseover mouseout mousemove mouseenter',function(e) { e.stopPropagation(); });
    	});
	</script>
<?php 
//
// Pull in JS and CSS for debug bar
//
if (Debug::isEnabled()) {
    $o_debugbar_renderer = Debug::$bar->getJavascriptRenderer();
    $o_debugbar_renderer->setBaseUrl(__CA_URL_ROOT__ . $o_debugbar_renderer->getBaseUrl());
开发者ID:kai-iak,项目名称:pawtucket2,代码行数:31,代码来源:pageHeader.php

示例3:

 *
 * This program is free software; you may redistribute it and/or modify it under
 * the terms of the provided license as published by Whirl-i-Gig
 *
 * CollectiveAccess is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTIES whatsoever, including any implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
 *
 * This source code is free and modifiable under the terms of 
 * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See
 * the "license.txt" file for details, or visit the CollectiveAccess web site at
 * http://www.CollectiveAccess.org
 *
 * ----------------------------------------------------------------------
 */
if (!($vs_window_title = trim(MetaTagManager::getWindowTitle()))) {
    $va_breadcrumb = $this->getVar('nav')->getDestinationAsBreadCrumbTrail();
    if (is_array($va_breadcrumb) && sizeof($va_breadcrumb)) {
        $vs_window_title = array_pop($va_breadcrumb);
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
	    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
开发者ID:idiscussforum,项目名称:providence,代码行数:30,代码来源:pageHeader.php


注:本文中的MetaTagManager::getWindowTitle方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。