本文整理汇总了PHP中Helper::getSearchOptionsHtml方法的典型用法代码示例。如果您正苦于以下问题:PHP Helper::getSearchOptionsHtml方法的具体用法?PHP Helper::getSearchOptionsHtml怎么用?PHP Helper::getSearchOptionsHtml使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Helper
的用法示例。
在下文中一共展示了Helper::getSearchOptionsHtml方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<div class="account_manage">
<div class="account_header_left left">
</div>
<div class="right">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search" value="<?php echo $queryString; ?>" id="search_field" maxlength="250">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_payments_list_search',
'options' => array(
'search_option_title' => array('Title', 1),
'search_option_log_line' => array('Log line', 0),
'search_option_description' => array('Description', 0),
'search_option_link_name' => array('Link Name', 0),
),
));
?>
</div>
</div>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
<button class="close-alert">×</button>
示例2: echo
</div>
<?php } ?>
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_payr_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_payr_to_entry_search',
'options' => array(
'search_option_week_end' => array('Date (yyyy-mm-dd) ', 1),
'search_option_type' => array('Payroll type #', 1),
'search_option_submitted' => array('Submitted(0 or 1)', 0),
'search_option_version' => array('Version', 0),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">Payrolls to Process: <?php echo $num_pages; ?> items</span>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
示例3: array
<div class="account_manage">
<div class="account_header_left left">
<button class="button right" id="submit_list_form">View Doc</button>
</div>
<div class="right">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search" value="<?php echo $queryString; ?>" id="search_field" maxlength="250">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_payments_list_search',
'options' => array(
'search_option_employee_name' => array('Employee Name', 1),
'search_option_envelope_number' => array('Number', 1),
'search_option_envelope_total' => array('Total', 0),
'search_option_envelope_date' => array('Date', 0),
),
));
$_SESSION['last_pcs_list_search']['options'] = array();
?>
</div>
</div>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
<button class="close-alert">×</button>
<?php echo Yii::app()->user->getFlash('success'); ?>
示例4: echo
<?php } ?>
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_je_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_je_to_entry_search',
'options' => array(
'search_option_jdate' => array('Date (yyyy-mm-dd) ', 1),
'search_option_jnumber' => array('Journal #', 0),
'search_option_transaction_num' => array('Transaction #', 0),
'search_option_desc' => array('Desc', 1),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">Journals to Process: <?php echo $num_pages; ?> items</span>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
示例5: echo
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_po_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_po_to_entry_search',
'options' => array(
'search_option_com_name' => array('Company name', 1),
'search_option_fed_id' => array('Company Fed ID', 1),
'search_option_account_num' => array('Account Num', 0),
'search_option_subtotal' => array('Subtotal', 0),
'search_option_tax' => array('Tax', 0),
'search_option_deliv_chg' => array('Delivery Chg', 0),
'search_option_other_chg' => array('Other Chg', 0),
'search_option_total' => array('Total', 0),
'search_option_paym_type' => array('Payment type', 0),
'search_option_4digits' => array('Last 4 Digits', 0),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">PO for Process: <?php echo $num_pages; ?> items</span>
示例6: echo
</div>
<?php } ?>
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_paym_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_paym_to_entry_search',
'options' => array(
'search_option_com_name' => array('Company name', 1),
'search_option_fed_id' => array('Company Fed ID', 1),
'search_option_pmt_num' => array('Pmt. Number', 0),
'search_option_pmt_amount' => array('Pmt. Amount', 1),
'search_option_pmt_date' => array('Pmt. Date', 1),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">Payments to Process: <?php echo $num_pages; ?> items</span>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
示例7: array
<?php
$options = array(
//'search_option_to_be_approved' => array('To be approved', $checkedTBABox),
'search_option_com_name' => array('Company Name', 1),
'search_option_fed_id' => array('Fed ID', 1),
'search_option_addr1' => array('Address 1', 0),
'search_option_addr2' => array('Address 2', 0),
'search_option_city' => array('City', 0),
'search_option_state' => array('State', 0),
'search_option_zip' => array('Zip', 0),
'search_option_country' => array('Country', 0),
'search_option_phone' => array('Phone', 0),
);
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_aps_list_search',
'options' => $options,
));
$_SESSION['last_aps_list_search']['options'] = array();
?>
</div>
</div>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
<button class="close-alert">×</button>
<?php echo Yii::app()->user->getFlash('success'); ?>
</div>
<?php endif; ?>
<div class="info_new" id="ready_for_approval_all" style="display: none;">
<button class="close-alert">×</button>
示例8: echo
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" maxlength="250" value="<?php echo $_SESSION['last_ap_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_ap_to_entry_search',
'options' => array(
'search_option_com_name' => array('Company name', 1),
'search_option_fed_id' => array('Company Fed ID', 1),
'search_option_invoice_num' => array('Inv. Number', 0),
'search_option_inv_date' => array('Inv. Date', 0),
'search_option_inv_due_date' => array('Inv. Due Date', 0),
'search_option_amount' => array('Inv. Amount', 1),
'search_option_description' => array('Description', 1),
'search_option_1099_type' => array('1099 Type', 0),
'search_option_po_number' => array('PO Number', 0),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">AP to Process: <?php echo $num_pages; ?> items</span>
</div>
示例9: echo
</div>
<?php } ?>
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_pc_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_pc_to_entry_search',
'options' => array(
'search_option_emp_name' => array('Empl. name', 1),
'search_option_env_num' => array('Env. #', 0),
'search_option_env_total' => array('Env. Total', 1),
'search_option_env_date' => array('Env. Date', 0),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">Expense/PC to Process: <?php echo $num_pages; ?> items</span>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>
<div class="info">
示例10: echo
<?php } ?>
<form method="post" action="/dataentry/<?=$this->action->id?>">
<div class="left" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">
<span class="left search_block_label">Search: </span>
<div class="search_block">
<input type="text" name="search_field" id="search_field" maxlength="250" value="<?php echo $_SESSION['last_ar_to_entry_search']['query'];?>" autocomplete="off">
<div id="search_options">
<span class="search_options_header">Search in the fields:</span><br/>
<?php
echo Helper::getSearchOptionsHtml(array(
'session_name' => 'last_ar_to_entry_search',
'options' => array(
'search_option_com_name' => array('Company name', 1),
'search_option_inv_num' => array('Invoice #', 0),
'search_option_inv_date' => array('Inv. Date', 0),
'search_option_inv_amount' => array('Inv. Amount', 0),
'search_option_descr' => array('Description', 1),
'search_option_terms' => array('Terms', 0),
),
));
?>
</div>
</div>
</div>
</form>
<span class="de_count_items" style="margin-left: <?php echo ($num_pages > 0) ? '65' : '10'; ?>px;">ARs to Process: <?php echo $num_pages; ?> items</span>
</div>
</div>
<?php if(Yii::app()->user->hasFlash('success')):?>