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


PHP UI::printButton方法代码示例

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


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

示例1: tags

$ui->callout()->title("This is just a small example")->uiType("warning")->desc('This example shows only a handful of the UI options. ' . 'See the <a href="http://172.16.8.5/wiki/index.php/UI_Library">UI Library wiki</a> for a detailed list of options. ' . 'Help us build this page by adding more example codes.')->show();
$ui->alert()->title("Is this example working for you?")->uiType("info")->desc('If the example is not working for you, the error is probably because of php short tags (<code>&lt;?</code>). Instead of converting all short tags to <code>&lt;?php</code>, you can enable the <code>short_open_tag</code> property in the php.ini file. <a href="http://stackoverflow.com/q/2185320/1492578" target="_blank">Here\'s how!</a>')->show();
$alertCol->close();
$printCol = $ui->col()->width(6)->open();
$printBox = $ui->box()->icon($ui->icon("print"))->title("Print this page")->tooltip("Printing this page wouldn't print this row. How awesome is that!")->open();
?>
<p>Everything in the view will be printed by default. To ignore something that shouldn't be printed, use the <code>noPrint()</code> property on that <code>Element</code>.</p>
<pre>
$ui->someElem()
   ...
   ->noPrint()
</pre>
<p>To make a Print button, use <code>$ui->printButton()->show()</code>. All other properties of <code>Button</code>s are still valid on the print button. For instance, you can set its id, name, UI type or value.</p>

<?php 
$ui->printButton()->show();
$printBox->close();
$printCol->close();
$topRow->close();
?>
<h2 class="page-header">Different box types</h2><?php 
$boxTypesRow = $ui->row()->open();
$col = $ui->col()->width(4)->open();
$box = $ui->box()->title("Default Box")->open();
?>
<p>This is the default box. It is the simplest box you can create. Use the following to create this:</p>
<pre>
$box = $ui->box()
          ->title("Default Box")
          ->open();
</pre><?php 
开发者ID:pkdism,项目名称:ISM-MIS,代码行数:31,代码来源:example.php

示例2:

		<p>6.Actual Period of Work - <?php 
echo $memo->work_period;
?>
</p>
		<p>7.Date of Submission of final report - <?php 
echo $memo->submission_date;
?>
</p>
		<p>8.Total Consultancy / Testing Charge Rs. - <?php 
echo $memo->testing_charge;
?>
</p>
		<p>9.Consultancy / Testing Charge Received on - <?php 
echo $memo->charge_received_date;
?>
<br>vide ISM cash receipt No./ Bank Credit <?php 
echo $memo->bank_credit;
?>
</p>
		<p>10.No of pages in the bill including enclosures: - <?php 
echo $memo->enclosure;
?>
<br><br></p>
		<p>AR(B&P) section may process strictly as per noticed ISM Consultancy / Testing Rules, Guidelines for the C.I. etc. It may be ensured that all pages of bills and cutting, if any, are countersigned by PCE,Any Change made in the bill may be communicated to PCE in order to keep the countersigned by PCE's office corrected and updated. No bill under this consultancy may be accepted unless it is forwarded through and counterigned by PCE.</p>
		<table width=100%>
			<td align='left' width=50%><br><br><h4>AR(B&P)</h4></td>
			<td align='right'><br><br><p>Professor of Continuing Education</p></td>
		</table>
	<?php 
$ui->printButton()->noPrint()->uiType('primary')->id('print')->show();
$column2->close();
开发者ID:vivek0739,项目名称:consultancy,代码行数:31,代码来源:disbursement_print4.php


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