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


PHP Version::signature方法代码示例

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


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

示例1: endBody

 protected function endBody($attribution = true)
 {
     $l12n = $this->l12n();
     print "<address>";
     Html::out(Version::signature());
     if (isset($_SERVER["REQUEST_TIME_FLOAT"])) {
         $elapsed = microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"];
         Html::out(sprintf($l12n->t(" - %f s"), $elapsed));
     }
     print "</address>";
     if ($attribution) {
         print "<address class=\"attribution\">";
         print "<a href=\"http://phplogmon.carne.de\">phpLogMon</a> sources are Copyright (c) 2012-2014 Holger de Carne and contributors und subject to the GPL version 3 or later.<br/>";
         print "The accompanied image resources are subject to different copyrights by: ";
         print "<a href=\"http://vathanx.deviantart.com/art/World-Flag-Icons-PNG-108083900\">Vathanx</a> from <a href=\"http://vathanx.deviantart.com\">vathanx.deviantart.com</a> | ";
         print "<a href=\"http://www.oxygen-icons.org\">Oxygen Team</a> from <a href=\"http://www.oxygen-icons.org\">www.oxygen-icons.org</a> | ";
         print "<a href=\"http://www.flaticon.com/packs/batch\">Adam Whitcroft</a> from <a href=\"http://www.flaticon.com\">www.flaticon.com</a> | ";
         print "<a href=\"http://www.mouserunner.com/Spheres_ColoCons1_Free_Icons.html\">Ken Saunders</a> from <a href=\"http://www.mouserunner.com\">www.mouserunner.com</a></br>";
         print "See <a href=\"?cmd=viewabout\">License</a> for full details.";
         print "</address>";
     }
     print "</body>";
 }
开发者ID:TheBillPleaseZA,项目名称:phplogmon,代码行数:23,代码来源:WebView.class.php

示例2: reportExceptionAndExit

 public static function reportExceptionAndExit($e)
 {
     print "<!DOCTYPE HTML>\n";
     print "<html>\n";
     print "<head>\n";
     print "<title>Error</title>\n";
     print "</head>\n";
     print "<body>\n";
     print "<h1>";
     print htmlentities("An exception occured");
     print "</h1>\n";
     print htmlentities($e->getMessage());
     print "\n<h1>";
     print htmlentities("Exception details:");
     print "</h1>\n";
     print "<pre>\n";
     print htmlentities($e);
     print "\n</pre>\n";
     print "<hr>\n";
     print "<address>";
     print htmlentities(Version::signature());
     print "</address>\n";
     print "</body>\n";
     print "</html>\n";
     flush();
     exit;
 }
开发者ID:TheBillPleaseZA,项目名称:phplogmon,代码行数:27,代码来源:WebAccess.class.php


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