本文整理汇总了PHP中Constants::get_search_address方法的典型用法代码示例。如果您正苦于以下问题:PHP Constants::get_search_address方法的具体用法?PHP Constants::get_search_address怎么用?PHP Constants::get_search_address使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Constants
的用法示例。
在下文中一共展示了Constants::get_search_address方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: action_index
/**
* @author Thuanth6589 <thuanth6589@seta-asia.com.vn>
* action list ss
*/
public function action_index()
{
$filters = Input::get();
$query_string = empty($filters) ? '' : '?' . http_build_query($filters);
Session::set('sslist_url', Uri::base() . 'master/sslist' . $query_string);
$m_ss = new \Model_Mss();
$data = array();
$data['count_ss'] = $m_ss->count_data($filters);
$pagination = \Uospagination::forge('pagination', array('pagination_url' => Uri::base() . 'master/sslist' . $query_string, 'total_items' => $data['count_ss'], 'per_page' => \Constants::$default_limit_pagination, 'num_links' => \Constants::$default_num_links, 'uri_segment' => 'page', 'show_last' => true));
$filters['offset'] = $pagination->offset;
$filters['limit'] = $pagination->per_page;
$data['ss'] = $m_ss->get_data($filters);
$data['addr1'] = \Constants::get_search_address();
$data['filters'] = $filters;
$data['pagination'] = $pagination;
$this->template->title = 'UOS求人システム';
$this->template->content = View::forge('sslist', $data);
}
示例2: isset
<div class="panel-body">
<div class="row">
<div class="col-md-2">
<label class="control-label">取引先区分</label>
</div>
<div class="col-md-4">
<?php
echo \Fuel\Core\Form::select('type', isset($filter['type']) ? $filter['type'] : '', Constants::$_type_partner, array('class' => 'form-control'));
?>
</div>
<div class="col-md-2">
<label class="control-label">都道府県</label>
</div>
<div class="col-md-4">
<?php
$address = Constants::get_search_address();
echo Fuel\Core\Form::select('addr1', isset($filter['addr1']) ? $filter['addr1'] : '', $address, array('class' => 'form-control', 'id' => 'search_addr1'));
?>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">取引先コード</label>
</div>
<div class="col-md-4">
<?php
echo \Fuel\Core\Form::input('partner_code', isset($filter['partner_code']) ? $filter['partner_code'] : '', array('class' => 'form-control', 'size' => '20'));
?>
</div>
<div class="col-md-2">
<label class="control-label">キーワード</label>
示例3: array
} else {
$listss = array('' => '全て');
$list_add2 = array('' => '全て');
$listss_item = $listss;
}
echo Form::open(array('action' => \Uri::base() . 'job/orders', 'method' => 'get', 'class' => 'form-inline'));
?>
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-2">
<label class="control-label">都道府県</label>
</div>
<div class="col-md-4">
<?php
echo Form::select('addr1', Input::get('addr1', isset($get) ? $get->addr1 : ''), \Constants::get_search_address(), array('class' => 'form-control'));
?>
</div>
<div class="col-md-2">
<label class="control-label">市区町村</label>
</div>
<div class="col-md-4">
<?php
echo Form::select('maddr2', Input::get('maddr2', isset($get) ? $get->maddr2 : ''), $list_add2, array('class' => 'form-control'));
?>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">取引先(受注先)</label>