本文整理汇总了PHP中FormBuilder::generateReactionSelectForm方法的典型用法代码示例。如果您正苦于以下问题:PHP FormBuilder::generateReactionSelectForm方法的具体用法?PHP FormBuilder::generateReactionSelectForm怎么用?PHP FormBuilder::generateReactionSelectForm使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FormBuilder
的用法示例。
在下文中一共展示了FormBuilder::generateReactionSelectForm方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: microtime
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];
$finish = $time;
$total_time = round($finish - $start, 4);
?>
<div class="center">
<p class="small">Page generated in <?php
echo $total_time;
?>
seconds.</p>
</div>
<?php
}
} else {
?>
<div class="page-header">
<h1 class="center">Reaction Scenario Calculator</h1>
</div>
<div class="center">
<?php
$formBuilder->generateReactionSelectForm($scriptName, "Configure Options");
?>
</div>
<?php
}
?>
<script src="include/javascript/bootstrap.min.js"></script>
</body>
</html>
示例2:
echo $thisInput->getName();
?>
</td>
<td align=right><?php
echo $input['inputQty'];
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<?php
} else {
?>
<div class="center">
<?php
$formBuilder->generateReactionSelectForm($scriptName, "Lookup");
?>
</div>
<?php
}
?>
</div>
<script src="include/javascript/bootstrap.min.js"></script>
</body>
</html>