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


PHP Debugger::get_messages方法代码示例

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


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

示例1: count

    echo count(Debugger::get_routes());
    ?>
)
			</li>
			<?php 
}
?>

			<!-- Messages -->
			<?php 
if (Kohana::$config->load('debugger.panels.messages')) {
    ?>
			<li id="toggle-customs" onclick="debugToolbar.show('debug-messages'); return false;">
				<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAIMSURBVDjLpVNLaxNRFP6STmaKdFqrgYKWlGLSgoiKCwsKVnFRtBsVUSTNyj/gxv4Bl678AyKCoCulgmtd+W7romgzKT4QMW1G+5hMpnPnnuuZm6ZNawoVBw7n3pn5vvP4zkkopfA/j9F8cafO3FekCjGpIgKIvayftTXOkr71jkz2/UXA4HxXfz72gIx/lBsWSfiVtwiWHK8B3kRQeX/6lmnnkuDAwn0MJSKQEFChQCp9CcHixxgsGWw3B01uRKfx9t1HIP1POpoSdUulLyD0vqO26IAkDW7tgSZYeHPqcmpXxkTChKzOaAKSEdo6jnEWVY5ehFxdHs2cn55rScDR73H6DKyyRWs1R0haGdR+z8YZ3MyMTj9rpUKi/PLkUJuZfmX3nkNYmQBxzYprpyCA2XMRrvNAcdfDhgKkm6ttKTdW6jH4w4RpD/ALAaNzhH2kSwALoSJCd9+VhIqEVVeD4C1MclaOT0Ke0Cowq+X9eLHapLH23f1XreDzI27LfqT2HIfvzsRAyLB2N1coXV8vodUkfn16+HnnvrPDhrmXsxBY+fmOwcVlJh/IFebK207iuqSShg0rjer8B9TcWY7q38nmnRstm7g1gy9PDk2129mjinjy3OIvJjvI4PJ2u7CJgMEdUMmVuA9ShLez14rj/7RMDHzNAzTP/gCDvR2to968NSs9HBxqvu/E/gBCSoxk53STJQAAAABJRU5ErkJggg==" alt="messages">
				messages (<?php 
    echo count(Debugger::get_messages());
    ?>
)
			</li>
			<?php 
}
?>

			<!-- Stacktraces -->
			<?php 
if (Kohana::$config->load('debugger.panels.stacktraces')) {
    ?>
			<li id="toggle-customs" onclick="debugToolbar.show('debug-stacktraces'); return false;">
				<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9wHCAoeCX62gKYAAAKjSURBVDjLdZLLb01RFMZ/+5599s01YOA1oWgvExJEL3X5B4RImnpW1TsGxkIilA4IMTVBkOLS6IN4JSJiQkk9ImlvkZRe6hLqEU21pz17L4PeHirxjdbaa+WX/X1ZatuZnUJBoQ3Zt2IPyclJlFIAbDy1BR3zmTZhKtXpKg4017ImVYHRhoYnTeiV81ZgtCEIAxJ+gvMtGWrLa0aYlEwqYcuSaqZNKALAicNog9E+ALGRxmhDXBtyX9+R68lx8dFlANo/ZLn38n4EVEAQBgThIAD6QksGJ64wEsaYMdS3NtDW3c64xFgqFpSzbtHqCCAICT9BXBuGbIjq/PxGiifOiBYaWptoz2dx4igrXkRf0MfTrmdYsSyduYRrz68TupCi8UVUL66Emqu18rd21++N6iM3jklN85/54RtH5eit49L1JSciIs45ieV63o/ybJ2LfmOdxTob9c65UZkopVBVJzdLyaQS2rrb2VC2DoBXn15jnaV0+gKCMCCb78A6S2pGKT8HellVWh5B9fkdZ6PmTttdfg3+YjAcwkpI6EKss1HfP9SPp2KsOrGeOVNm0/m5E0b8NbQ2SdXJzaM8/5vB/qZDIiJyseWSvP2Sk02nt4sWEZRSLCxO0dWT41vf9/9mMFJXFqzOmpxEvfv6Xi60ZMjmXxLXhuVzl/E89wLrLOlkGU6GgwtdyPyieSyfuywCdn/7gKo+tVVWpyownuHcgzoyO+uihZsvbuPEcaW1kTlTZvPq02v6Bweii1RKoX3PR8c02vP4W41Pmsk8rqdx12V6B3pJJ9McaD5IZdladEwThAFxHUdTuG1BCtxhLSxOkc13/ON5JsYzaM9DEIznDwPiOo7xfBTw8cdH6h5m6Mh3YOVPgCJCVbqSmqu1+J4fvf8GW3uGwRPm74AAAAAASUVORK5CYII=" alt="stacktraces">
				stacktraces (<?php 
    echo count(Debugger::get_stacktraces());
开发者ID:nexeck,项目名称:kohana-debugger,代码行数:31,代码来源:toolbar.php

示例2: foreach

<div id="debug-messages" class="top" style="display: none;">
	<h1>Messages</h1>
	<table>
		<tbody>
		<tr>
			<th>#</th>
			<th>file</th>
			<th>line</th>
			<th>class</th>
			<th>function</th>
			<th>message</th>
		</tr>
		<?php 
foreach (Debugger::get_messages() as $id => $message) {
    ?>
		<tr class="<?php 
    echo Text::alternate('odd', 'even');
    ?>
">
			<td><?php 
    echo '#' . ($id + 1);
    ?>
</td>
			<td><?php 
    echo $message['file'];
    ?>
</td>
			<td><?php 
    echo $message['line'];
    ?>
</td>
开发者ID:nexeck,项目名称:kohana-debugger,代码行数:31,代码来源:messages.php

示例3: _collect_data

 /**
  * Collect the data
  *
  * @static
  */
 protected static function _collect_data()
 {
     Debugger::get_benchmark_application();
     if (Kohana::$config->load('debugger.panels.benchmarks')) {
         Debugger::get_benchmark_groups();
     }
     if (Kohana::$config->load('debugger.panels.database')) {
         Debugger::get_database_queries();
     }
     if (Kohana::$config->load('debugger.panels.files')) {
         Debugger::get_files();
     }
     if (Kohana::$config->load('debugger.panels.modules')) {
         Debugger::get_modules();
     }
     if (Kohana::$config->load('debugger.panels.routes')) {
         Debugger::get_routes();
     }
     if (Kohana::$config->load('debugger.panels.messages')) {
         Debugger::get_messages();
     }
     if (Kohana::$config->load('debugger.panels.stacktraces')) {
         Debugger::get_stacktraces();
     }
 }
开发者ID:nexeck,项目名称:kohana-debugger,代码行数:30,代码来源:debugger.php


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