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


PHP Utilities::displayPageTitle方法代码示例

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


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

示例1: displayPharmacyFinderMap

<?php

Utilities::displayHTMLHead();
Utilities::displaySiteHeader();
Utilities::displayBodyHead();
Utilities::displayPageTitle("Pharmacy Finder");
/* Place Page Specific Content Here */
?>


<?php 
displayPharmacyFinderModule();
/* End of Page Specific Content */
Utilities::displayBodyTail();
Utilities::displayHTMLTail();
function displayPharmacyFinderMap()
{
    ?>
	<iframe class="pharmacy_finder_map" src="https://www.google.com/maps/embed/v1/search?q=pharmacies%20near%20me&key=AIzaSyByF0PtbUJJD8npqC0vVrPXROP_PzfIMXk" allowfullscreen>
	</iframe>
	<script>
		$('.pharmacySearch').on('input', function() {
			var googlemapaddr = "https://www.google.com/maps/embed/v1/search?";
			var key = "&key=AIzaSyByF0PtbUJJD8npqC0vVrPXROP_PzfIMXk";
			var search = "q=pharmacies%20near%20" + $(this).val(); // get the current value of the input field.
			if ($(this).val()) {
				$(".pharmacy_finder_map").attr('src', googlemapaddr + search + key);
			}
		});
	</script>
<?php 
开发者ID:Episigma,项目名称:scription,代码行数:31,代码来源:pharmacyfinder.php

示例2:

<?php

Utilities::displayHTMLHead();
Utilities::displaySiteHeader();
Utilities::displayBodyHead();
Utilities::displayPageTitle("wuddup");
/* Place Page Specific Content Here */
/* End of Page Specific Content */
Utilities::displayBodyTail();
Utilities::displayHTMLTail();
开发者ID:Episigma,项目名称:scription,代码行数:10,代码来源:index.php

示例3: ScriptionManager

<?php

Utilities::displayHTMLHead();
Utilities::displaySiteHeader();
Utilities::displayBodyHead();
$db = DbSingleton::getInstance();
$sm = new ScriptionManager($db);
$drug = $sm->fetchDrugById(1);
Utilities::displayPageTitle($drug->getGenericName());
displayProprietaryNames($drug->getProprietaryNamesAsArray());
/* End of Page Specific Content */
Utilities::displayBodyTail();
Utilities::displayHTMLTail();
/**
 *
 * @param Array<String> $names Name of drugs
 */
function displayProprietaryNames($names)
{
    ?>
	<div>
		<div class="label_druginfo">Proprietary Names:</div> 
		<ul class="propNamesListing_druginfo"> <?php 
    foreach ($names as $name) {
        echo "<li>" . $name . "</li>";
    }
    ?>
		</ul>
	</div>
	<?php 
}
开发者ID:Episigma,项目名称:scription,代码行数:31,代码来源:druginfo.php

示例4:

<?php

Utilities::displayHTMLHead();
Utilities::displaySiteHeader();
Utilities::displayBodyHead();
Utilities::displayPageTitle("\"Sample Title\"");
/* Place Page Content Here */
Utilities::displayBodyTail();
Utilities::displayHTMLTail();
开发者ID:Episigma,项目名称:scription,代码行数:9,代码来源:about.php


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