本文整理汇总了PHP中Constants::get_search_department方法的典型用法代码示例。如果您正苦于以下问题:PHP Constants::get_search_department方法的具体用法?PHP Constants::get_search_department怎么用?PHP Constants::get_search_department使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Constants
的用法示例。
在下文中一共展示了Constants::get_search_department方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: action_index
/**
* @author Thuanth6589 <thuanth6589@seta-asia.com.vn>
* action list user
*/
public function action_index()
{
$filters = Input::get();
$query_string = empty($filters) ? '' : '?' . http_build_query($filters);
Session::set('users_url', Uri::base() . 'master/users' . $query_string);
$m_user = new \Model_Muser();
$data = array();
$data['count_user'] = $m_user->count_data($filters);
$pagination = \Uospagination::forge('pagination', array('pagination_url' => Uri::base() . 'master/users' . $query_string, 'total_items' => $data['count_user'], '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['filters'] = $filters;
$data['pagination'] = $pagination;
$data['department'] = \Constants::get_search_department();
$data['division_type'] = \Constants::$division_type;
$data['users'] = $m_user->get_data($filters);
$this->template->title = 'UOS求人システム';
$this->template->content = View::forge('users', $data);
}
示例2: isset
<div class="col-md-10">
<select class="form-control" name="ss_id">
<option value="">全て</option>
</select>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">登録部門</label>
</div>
<div class="col-md-10">
<div class="input-group">
<div class="input-group-addon">部門</div>
<?php
echo Form::select('department', Input::get('department', isset($get) ? $get->department : ''), \Constants::get_search_department(), array('class' => 'form-control'));
?>
</div>
<div class="input-group">
<div class="input-group-addon">担当者</div>
<?php
echo Form::select('user_id', Input::get('user_id', isset($get) ? $get->user_id : ''), array('' => '全て'), array('class' => 'form-control'));
?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">売上形態</label>
</div>
示例3: isset
?>
</label>
<label class="checkbox-inline">
<?php
echo Form::checkbox('status', 0, isset($filters['status']) && $filters['status'] != '' && $filters['status'] == 0 ? true : false) . '承認待ち';
?>
</label>
</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::select('department_id', isset($filters['department_id']) ? $filters['department_id'] : '', Constants::get_search_department(), array('class' => 'form-control'));
?>
</div>
</div>
<div class="row text-center">
<button type="submit" class="btn btn-primary btn-sm"><i class="glyphicon glyphicon-search icon-white"></i> フィルタ</button>
<button type="button" class="btn btn-info btn-sm" name="filter-clear-btn"><i class="glyphicon glyphicon-refresh icon-white"></i> フィルタ解除</button>
</div>
</div>
</div>
<nav>
<?php
echo html_entity_decode($pagination);
?>
</nav>
示例4: isset
<div class="input-group">
<div class="input-group-addon">担当者</div>
<?php
echo Form::select('agreement_user_id', Input::post('agreement_user_id', isset($post) ? $post->agreement_user_id : $orderinfo['agreement_user_id']), $list_agreement, array('class' => 'form-control'));
?>
</div>
<span class="text-info">※必須</span>
</td>
</tr>
<tr>
<th class="text-right">研修</th>
<td>
<div class="input-group">
<div class="input-group-addon">部門</div>
<?php
echo Form::select('select_training_user_id', Input::post('select_training_user_id', isset($post) ? $post->select_training_user_id : $training_department_id), \Constants::get_search_department($userDefault), array('class' => 'form-control user_id', 'data-type' => 'training'));
?>
</div>
<div class="input-group">
<div class="input-group-addon">担当者</div>
<?php
echo Form::select('training_user_id', Input::post('training_user_id', isset($post) ? $post->training_user_id : $orderinfo['training_user_id']), $list_training, array('class' => 'form-control'));
?>
</div>
</td>
</tr>
</tbody></table>
<div class="text-center">
<?php
示例5: isset
echo Form::select('department', Input::get('department', isset($get) ? $get->department : ''), \Constants::get_search_department(), array('class' => 'form-control'));
?>
-
<?php
echo Form::select('user_id', Input::get('user_id', isset($get) ? $get->user_id : ''), array('' => '全て'), array('class' => 'form-control'));
?>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">発注者</label>
</div>
<div class="col-md-10">
<?php
echo Form::select('order_department', \Fuel\Core\Input::get('order_department'), \Constants::get_search_department(), array('class' => 'form-control'));
?>
-
<?php
echo Form::select('order_user_id', \Fuel\Core\Input::get('order_user_id'), array('' => '全て'), array('class' => 'form-control'));
?>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">媒体</label>
</div>
<div class="col-md-4">
<?php
示例6: isset
?>
</div>
<div class="input-group">
<div class="input-group-addon">担当者</div>
<?php
echo Form::select('training_user_id', Input::post('training_user_id', isset($post) ? $post->training_user_id : (isset($order) ? $training : $edit_person['training_user_id'])), \Utility::create_array_users(isset($order) ? $listusers_training : $edit_person['listusers_training']), array('class' => 'form-control'));
?>
</div>
<div class="edit-before <?php
echo isset($is_view['training_user_id']) ? $is_view['training_user_id'] : '';
?>
">
<div class="input-group">
<div class="input-group-addon">部門</div>
<?php
echo Form::select('', Input::post('select_training_user_id', isset($post) ? $post->select_training_user_id : $person_info['training_department_id']), \Constants::get_search_department(' '), array('class' => 'form-control user_id', 'data-type' => 'training', 'disabled'));
?>
</div>
<div class="input-group">
<div class="input-group-addon">担当者</div>
<?php
echo Form::select('', Input::post('training_user_id', isset($post) ? $post->training_user_id : $person_info['training_user_id']), \Utility::create_array_users($person_info['listusers_training']), array('class' => 'form-control', 'disabled'));
?>
</div>
</div>
</td>
</tr>
</table>
<div class="text-center">
示例7: array
<?php
//get list ss
$model_ss = new \Model_Mss();
$listss = $model_ss->get_list_all_ss();
$addr_2 = array('' => '全て') + array_column($listss, 'addr2', 'addr2');
echo \Fuel\Core\Form::select('address_2', \Fuel\Core\Input::get('address_2'), $addr_2, array('class' => 'form-control', 'style' => 'width:132px'));
?>
</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::select('department_id', Fuel\Core\Input::get('department_id'), Constants::get_search_department(), array('class' => 'form-control'));
?>
</div>
</div>
<div class="row">
<div class="col-md-2">
<label class="control-label">取引先(受注先)</label>
</div>
<div class="col-md-10">
<select class="form-control" id="group_search" name="group_search">
<option value="">全て</option>
<?php
foreach ($search_group as $group_id => $name) {
?>
<option value="<?php
echo $group_id;