当前位置: 首页>>代码示例>>PHP>>正文


PHP object_input_hidden_tag函数代码示例

本文整理汇总了PHP中object_input_hidden_tag函数的典型用法代码示例。如果您正苦于以下问题:PHP object_input_hidden_tag函数的具体用法?PHP object_input_hidden_tag怎么用?PHP object_input_hidden_tag使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了object_input_hidden_tag函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'course_sched/updateSchedule', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('CourseSchedule')));
echo input_hidden_tag('course_schedule_id', $course_schedule->getId());
echo input_hidden_tag('course_id', $course_schedule->getId());
echo object_input_hidden_tag($cs_detail, 'getId');
echo input_hidden_tag('action_type', '');
?>

<table border="0" width="100%">
<tr>
	<td width="39%" valign="top">
	<!-- Detail Course Schedule -->
	<table class="detail" width="100%">
	<tr><td class="detail">
		<table class="detail_content" width="100%">
			<tbody>
            			<tr>
                			<td class='first' width="30%" style="vertical-align:middle;"><label ><?php 
echo __('Academic calendar');
?>
</label></td>
                			<td class="first" width="3%" style="text-align:center; vertical-align:middle;">:</td>
					<td class="first" style="vertical-align:middle;">
                    				<p class="detail" style="font-weight: bold;">
							<?php 
echo $course_schedule->getAcademicCalendarId() ? $course_schedule->getAcademicCalendar()->toString() : '-';
?>
</p>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editScheduleSuccess.php

示例2: object_select_tag

        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_select_tag($catalog, 'getCatLanguageId', array('related_class' => 'CatLanguage'));
?>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Publisher');
?>
</label></td>
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_input_hidden_tag($catalog, 'getPublisherId');
if (isset($catalog) && $catalog->getId()) {
    echo input_auto_complete_tag('publisher_name', $catalog->getPublisherId() ? $catalog->getPublisher()->toString() : '', '/publisher/getList', array('size' => 70), array('after_update_element' => 'function(f, s) {$("publisher_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
} else {
    echo input_auto_complete_tag('publisher_name', null, '/publisher/getList', array('size' => 70), array('after_update_element' => 'function(f, s) {$("publisher_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
}
?>
        </td>
    </tr>	
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Published year');
?>
</label></td>
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplAvSuccess.php

示例3: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'course_sched/save', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');this.subject_list_ser.value=Form.serialize(subject_list);", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('CourseSchedule')));
echo object_input_hidden_tag($course_schedule, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('subject_list_ser');
?>
<table border="0" width="100%">
<tr>
	<td width="39%" valign="top">
	<!-- Course Schedule -->
	<table class="form">
	<tr><td class="form">
		<table class="form_content" width="100%">
			<tbody>
				<tr>
          				<td class='first' width="25%" style="vertical-align:top;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
           				<td class="first" width="2%" style="text-align:center; vertical-align:top;">:</td>
					<td class="first" style="vertical-align:top;">
					<?php 
echo my_object_select_tag($course_schedule, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered'));
?>
            				<?php 
echo form_error('academic_calendar_id');
?>
            				</td>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:createSuccess.php

示例4: form_tag

<?php

echo form_tag('historico_documentos/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true));
?>

<?php 
echo object_input_hidden_tag($historico_documento, 'getIddocumento');
echo object_input_hidden_tag($historico_documento, 'getVersion');
?>

<fieldset id="sf_fieldset_none" class="">

<div class="form-row">
  <?php 
echo label_for('historico_documento[id_documento]', __($labels['historico_documento{id_documento}']), '');
?>
  <div class="content<?php 
if ($sf_request->hasError('historico_documento{id_documento}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('historico_documento{id_documento}')) {
    ?>
    <?php 
    echo form_error('historico_documento{id_documento}', array('class' => 'form-error-msg'));
    ?>
  <?php 
}
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:31,代码来源:_edit_form.php

示例5: use_helper

<div id="fake_div">
<?php 
use_helper('Ajax', 'Language', 'Form', 'MyForm', 'Object', 'Javascript', 'Link');
echo customization_nav('personal');
// handle non ajax error form
echo global_form_errors_tag();
echo c2c_form_remote_tag('@user_edit');
?>
  <div id="customize">
    <?php 
echo fieldset_tag('Current password');
echo __('Your current password is needed before modifying these properties');
echo group_tag('current_password', 'current_password', 'input_password_tag', null, array('class' => 'medium_input', 'autocomplete' => 'off'));
echo end_fieldset_tag();
echo fieldset_tag('Change your password');
echo object_input_hidden_tag($user_private_data, 'getId');
echo group_tag('new_password', 'password', 'input_password_tag', null, array('class' => 'medium_input'));
echo group_tag('Retype your password:', 'new_password', 'input_password_tag', null, array('class' => 'medium_input'));
echo end_fieldset_tag();
echo fieldset_tag('Manage your email');
echo object_group_tag($user_private_data, 'email', array('class' => 'medium_input', 'type' => 'email'));
echo end_fieldset_tag();
?>
    <div class="form-row">
    <?php 
echo fieldset_tag('Manage your private data');
?>
    <ul>
      <li><?php 
echo label_for('edit_topo_name', __('topoName_desc'), array('class' => 'fieldname', 'id' => '_topo_name')) . ' ' . input_tag('edit_topo_name', $user_private_data->get('topo_name'), array('class' => 'medium_input'));
?>
开发者ID:snouhaud,项目名称:camptocamp.org,代码行数:31,代码来源:editPrivateDataSuccess.php

示例6: use_helper

<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'employee_email/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Inbox')));
echo object_input_hidden_tag($outbox_emp, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('employee_2', $employee_id);
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
    	<tr>
           <td class='first' width="20%" style="vertical-align:middle;"><label><?php 
echo __('Ditujukan Untuk');
?>
</label></td>
           <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td class="first" style="vertical-align:middle;">
		   <?php 
echo select_tag('toward', options_for_select(array('', PublicInformation::STUDENT => __('Siswa'), PublicInformation::EMPLOYEE => __('Guru')), ''));
echo observe_field('toward', array('url' => 'employee_email/loadAttributes', 'update' => 'email_attribute', 'script' => 'true', 'with' => "'toward='+\$('toward').value+'&id='+\$('id').value"));
?>
           </td>
        </tr>
        <tr>
			<td colspan="3" class="first">
				<div id="email_attribute">
					<?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:createSuccess.php

示例7: form_tag

<?php 
echo form_tag('tablas/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true, 'onsubmit' => 'double_list_submit(); return true;'));
?>

<?php 
echo object_input_hidden_tag($tabla, 'getIdTabla');
?>

<fieldset id="sf_fieldset_editable" class="">
<h2><?php 
echo __('Datos');
?>
</h2>

<div class="form-row">
  <?php 
echo label_for('tabla[nombre]', __($labels['tabla{nombre}']), 'class="required" ');
?>
  <div class="content<?php 
if ($sf_request->hasError('tabla{nombre}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('tabla{nombre}')) {
    ?>
    <?php 
    echo form_error('tabla{nombre}', array('class' => 'form-error-msg'));
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:30,代码来源:_edit_form.php

示例8: use_helper

<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'subject_grading/update?subject_curr_id=' . $subject_curr->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Standar Kompetensi')));
echo object_input_hidden_tag($subject_grading, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('subject_curr_id', $subject_curr->getId());
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
    	<tr>
           <td class='first' width="20%" style="vertical-align:middle;"><label><?php 
echo __('Standar Kompetensi');
?>
</label></td>
           <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td class="first" style="vertical-align:middle;">
			<?php 
echo object_select_tag($subject_grading, 'getGradeComponentId', array('related_class' => 'GradeComponent', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
			<?php 
echo form_error('grade_component_id');
?>
           </td>
        </tr>
        <!--tr>
            <td style="vertical-align:middle;"><label><?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例9: use_helper

<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'col_item/updateDetail', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('ColItem')));
?>

<?php 
echo object_input_hidden_tag($col_item, 'getId');
echo input_hidden_tag('action_type', '');
echo object_input_hidden_tag($col_item, 'getCatalogId');
?>

<table class="form">
<tr><td class="form">
	<table class="form_content">
	<tbody>
		<tr>
			<td class='first'>
				<label  ><?php 
echo __('Catalog');
?>
</label>
				<br/>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
echo $col_item->getCatalog()->toString();
?>
			</td>
		</tr>
		<tr>
			<td >
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editDetailSuccess.php

示例10: use_helper

<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'subject_grading/saveCompetency?subject_grading_id=' . $subject_grading->getId(), 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Standar Kompetensi')));
echo object_input_hidden_tag($subject_competency, 'getId');
echo input_hidden_tag('action_type', '');
echo input_hidden_tag('subject_grading_id', $subject_grading->getId());
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
        <tr>
           <td class="first" style="vertical-align:top;"><label><?php 
echo __('Kompetensi Dasar');
?>
</label></td>
           <td class="first" style="text-align:center; vertical-align:top;">:</td>
           <td class="first" style="vertical-align:top;">
           <?php 
echo object_textarea_tag($subject_competency, 'getDetail', array('size' => '30x3'));
?>
		   <?php 
echo form_error('detail');
?>
           </td>
        </tr>
	</tbody>
	</table>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editCompetency2Success.php

示例11: form_tag

<?php

echo form_tag('mensajes/edit', array('id' => 'sf_admin_edit_form', 'name' => 'sf_admin_edit_form', 'multipart' => true, 'onsubmit' => 'double_list_submit(); return true;'));
?>

<?php 
echo object_input_hidden_tag($mensaje, 'getIdMensaje');
?>

<fieldset id="sf_fieldset_datos_mensaje" class="">
<h2><?php 
echo __('Datos');
?>
</h2>

<div class="form-row">
  <?php 
echo label_for('mensaje[asunto]', __($labels['mensaje{asunto}']), '');
?>
  <div class="content<?php 
if ($sf_request->hasError('mensaje{asunto}')) {
    ?>
 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('mensaje{asunto}')) {
    ?>
    <?php 
    echo form_error('mensaje{asunto}', array('class' => 'form-error-msg'));
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:31,代码来源:_edit_form.php

示例12: use_helper

<?php

use_helper('Object', 'Validation');
echo form_remote_tag(array('url' => 'facility/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Facility')));
echo object_input_hidden_tag($facility, 'getId');
echo input_hidden_tag('action_type', '');
?>
<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
    	 <tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label ><?php 
echo __('Code');
?>
</label></td>
           <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td class="first" style="vertical-align:middle;">
			<?php 
echo object_input_tag($facility, 'getCode', array('size' => 16, 'maxlength' => 16));
?>
			<?php 
echo form_error('code');
?>
</td>
        </tr>
   		<tr>
           <td style="vertical-align:middle;"><label ><?php 
echo __('Name');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例13: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo include_partial('global/tabNew', array('actions2' => $actions2));
echo form_remote_tag(array('url' => 'scholar_graduate/updateStatus', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Ubah Status')));
echo input_hidden_tag('action_type', '');
echo object_input_hidden_tag($student, 'getId');
echo object_input_hidden_tag($student, 'getStudentDetailId');
?>
<table border="0" width="100%">
    <tr>
        <td width="20%" valign="top"> 
			<table class="form" width="100%">
                <tr>
                    <td class="form" style="vertical-align: top;">
                        <table class="form_content" width="100%">
                            <tbody>
                                <tr>
                                    <td class='first' style="vertical-align:top;">
										<img style="border: 1px solid #7B8080; padding: 0;" height="130" width="100" id='thumbPhoto' src="<?php 
echo url_for('student/getPhoto?id=' . $student->getId() . '&rnd=' . rand(999, 9999999));
?>
">
									</td>
                                </tr>
								<tr><td><label class="applicant"><?php 
echo __('_STUDENT_NUMBER_');
?>
</label><br><p class="detail" style="font-weight: bold;"><?php 
echo $student->getCode() ? $student->getCode() : '';
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editStatusSuccess.php

示例14: use_helper

    <?php 
use_helper('Object', 'Validation', 'myHelper', 'Number');
echo form_remote_tag(array('url' => 'employee_medical/update', 'update' => 'content', 'script' => 'true', 'name' => 'edit_form', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"));
if ($byEmployee == false) {
    echo include_partial('global/tab', array('actions2' => $actions2));
    echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Employee Medical')));
} else {
    echo include_partial('global/title', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Employee Medical')));
}
echo object_input_hidden_tag($employee_medical, 'getId');
echo object_input_hidden_tag($employee_medical, 'getEmployeeId');
echo input_hidden_tag('action_type', '');
?>
    <table class="form">
    <tr><td class="form">
            <table class="form_content" width="100%">
            <tbody>
                
                <?php 
if ($byEmployee == true) {
    ?>
                        <tr><td class="first" style="text-align: left; padding-bottom: 5px;" colspan="3">
                                        <div class="tips" style="color: #F00; font-size: 11px;">Dengan ini saya menyatakan bahwa data yang tercantum dibawah adalah benar. <br /> Apabila terjadi kesalahan karena data yang saya isi tidak benar, sepenuhnya menjadi tanggung jawab saya. <br /><br /></div>
                        </td></tr>
                        
                    <tr>
                        <td class="first" width="17%" style="vertical-align:middle;"><label><?php 
    echo __('Medical Date');
    ?>
</label></td>
                        <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例15: use_helper

<?php

use_helper('Object', 'Validation', 'myHelper');
echo form_remote_tag(array('url' => 'payment_model/update', 'update' => 'content', 'script' => 'true', 'before' => "this.blur();showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()", 'name' => 'edit_form'));
if ($payment_model->getId()) {
    if ($can_remove) {
        array_push($actions, array('name' => 'delete', 'url' => 'payment_model/delete?id=' . $payment_model->getId(), 'color' => 'red'));
    }
}
array_push($actions, array('name' => 'cancel', 'url' => 'payment_model/list', 'color' => 'white'));
echo include_partial('global/tab2', array('modules' => $modules, 'actions2' => $actions2));
echo include_partial('global/title4', array('actions' => $actions, 'subtitle' => $subtitle . ($sf_request->hasErrors() ? '<div class=form_error>* ' . __('_FORM_HAS_ERROR_') . '</div>' : ''), 'type' => $type, 'title' => __('Model Pembayaran')));
echo object_input_hidden_tag($payment_model, 'getId');
echo input_hidden_tag('action_type', '');
?>

<table class="form">
<tr><td class="form">
	<table class="form_content" width="100%">
	<tbody>
   	    <tr>
           <td class='first' width="15%" style="vertical-align:middle;"><label ><?php 
echo __('Code');
?>
</label></td>
           <td class="first" width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td class="first" style="vertical-align:middle;">
			<?php 
echo object_input_tag($payment_model, 'getCode', array('size' => 24));
?>
			<?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php


注:本文中的object_input_hidden_tag函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。