本文整理汇总了PHP中FORM::close方法的典型用法代码示例。如果您正苦于以下问题:PHP FORM::close方法的具体用法?PHP FORM::close怎么用?PHP FORM::close使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FORM
的用法示例。
在下文中一共展示了FORM::close方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
</li>
<?php
}
?>
<?php
}
?>
</ul>
</div>
</div>
<div class="work_filter">
<div class="title">Сортировка по услугам</div>
<?php
echo FORM::open('#') . FORM::hidden('city_id', $city_id, array('class' => 'city_id_search_by_car')) . FORM::hidden('car_id', $car_id, array('class' => 'car_id_search_by_car')) . FORM::hidden('district_id', $district_id, array('class' => 'district_id_search_by_car')) . FORM::hidden('metro_id', $metro_id, array('class' => 'metro_id_search_by_car')) . FORM::hidden('discount_id', $discount_id, array('class' => 'discount_id_search_by_car')) . FORM::close();
?>
<?php
foreach ($works as $category_name => $works) {
?>
<?php
if (mb_strlen($category_name) > 45) {
?>
<div class="category_open_short" title="<?php
echo $category_name;
?>
">
<?php
echo Text::limit_chars($category_name, 45);
?>
</div>
示例2: __
echo __('Subscribed to emails');
?>
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-md-offset-4 col-md-8">
<button type="submit" class="btn btn-primary"><?php
echo __('Update');
?>
</button>
</div>
</div>
<?php
echo FORM::close();
?>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php
echo __('Billing Information');
?>
</h3>
</div>
<div class="panel-body">
<form class="form-horizontal" method="post" action="<?php
echo Route::url('oc-panel', array('controller' => 'profile', 'action' => 'billing'));
?>
">
示例3: close
public static function close()
{
self::$_errors = array();
self::$_values = array();
return FORM::close();
}
示例4: __
echo FORM::label($api . '_secret_label', __('secret'), array('class' => 'control-label col-sm-4', 'for' => $api));
?>
<div class="col-sm-8">
<?php
echo FORM::input($api . '_secret', $options['keys']['secret']);
?>
</div>
</div>
<?php
}
?>
<hr>
<?php
}
?>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-8">
<?php
echo FORM::button('submit', 'Update', array('type' => 'submit', 'class' => 'btn btn-primary', 'action' => Route::url('oc-panel', array('controller' => 'social', 'action' => 'index'))));
?>
</div>
</div>
</div>
</div>
</div>
<?php
FORM::close();
?>
</div>
</div>
示例5: __
</div>
</div>
<?endif?>
<?if(isset($options['keys']['secret'])):?>
<div class="form-group">
<?php
echo FORM::label($api . '_secret_label', __('secret'), array('class' => 'control-label col-sm-4', 'for' => $api));
?>
<div class="col-sm-8">
<?php
echo FORM::input($api . '_secret', $options['keys']['secret']);
?>
</div>
</div>
<?endif?>
<hr>
<?endforeach?>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-8">
<?php
echo FORM::button('submit', 'Update', array('type' => 'submit', 'class' => 'btn btn-primary', 'action' => Route::url('oc-panel', array('controller' => 'social', 'action' => 'index'))));
?>
</div>
</div>
</div>
</div>
</div>
<?FORM::close()?>
</div>
</div>