本文整理汇总了PHP中FormBuilder::generatePermalink方法的典型用法代码示例。如果您正苦于以下问题:PHP FormBuilder::generatePermalink方法的具体用法?PHP FormBuilder::generatePermalink怎么用?PHP FormBuilder::generatePermalink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FormBuilder
的用法示例。
在下文中一共展示了FormBuilder::generatePermalink方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: date
<input type="hidden" name="c" value="1">
<?php
}
?>
</form>
<form id="reset" class="form-inline" style="display:inline" method="post" action="<?php
echo $scriptName;
?>
">
<input type="hidden" name="reset" value="1">
</form>
<div class="btn-group btn-group-xs">
<button class="btn btn-success" type="submit" form="configure">Configure</button>
<button class="btn btn-danger" type="submit" form="reset">Reset</button>
<a class="btn btn-primary" href="<?php
$formBuilder->generatePermalink($options, $reactionID, $chain);
?>
">Permalink</a>
</div>
</div>
<br>
<?php
if (isset($dateChanged)) {
?>
<div class="alert alert-danger alert-dismissible fade in">
<button type="button" class="close" data-dismiss="alert">×</button>
<p class="center"><strong>Hey!</strong> This scenario is based on historical price data from <?php
echo date("F j, Y \\a\\t H:i:s e", strtotime($datetime));
?>
. I trust that you know what you're doing!</p>
</div>
示例2:
?>
" method="post">
<input type="hidden" name="configure" value="1">
</form>
<form id="reset" class="form-inline" style="display:inline" method="post" action="<?php
echo $scriptName;
?>
">
<input type="hidden" name="reset" value="1">
</form>
<div class="btn-group btn-group-xs">
<button class="btn btn-success" type="submit" form="configure">Configure</button>
<button class="btn btn-danger" type="submit" form="reset">Reset</button>
<a class="btn btn-primary" href="
<?php
$formBuilder->generatePermalink($options);
?>
">Permalink</a>
</div>
</div>
<?php
$system = $objectFactory->create(ObjectFactory::SYSTEM, $_SESSION['params']['sy']);
$systemName = $system->getSystemName();
$numCycles = $dbMgr->getNumCycles($_SESSION['params']['t']);
$simpleReactions = $dbMgr->getAllReactionIDs(1);
$complexReactions = $dbMgr->getAllReactionIDs(2);
$alchemyReactions = $dbMgr->getAllReactionIDs(3);
$polymerReactions = $dbMgr->getAllReactionIDs(4);
?>
<div class="center">
<img src="include/images/moonminingbee.png" alt="Moon mining bee wants your precious goo." style="width:200px;height:225px;float:right;" alt="">