本文整理匯總了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>