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


PHP FormBuilder::generatePermalink方法代码示例

本文整理汇总了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">&times;</button>
				<p class="center"><strong>Hey!</strong>&nbsp;&nbsp;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>
开发者ID:Covert-Inferno,项目名称:reaction-toolkit,代码行数:31,代码来源:scenario.php

示例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="">
开发者ID:Covert-Inferno,项目名称:reaction-toolkit,代码行数:31,代码来源:dashboard.php


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