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


PHP object_select_tag函数代码示例

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


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

示例1: object_select_tag

                    <td class='filter'>
					<?php 
echo object_select_tag(isset($filters['ACADEMIC_CALENDAR_ID']) ? $filters['ACADEMIC_CALENDAR_ID'] : null, null, array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'peer_method' => 'doSelectFiltered', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_CALENDAR_ID]'));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['INSTANCE_ID']) ? $filters['INSTANCE_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Instance', 'text_method' => '__toString', 'control_name' => 'filters[INSTANCE_ID]'));
?>
</td>
					<td class='filter'></td>
					<td class='filter'><?php 
echo input_tag('filters[GRADE]', isset($filters['GRADE']) ? $filters['GRADE'] : null, array('size' => 7));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['CITATION_ID']) ? $filters['CITATION_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Citation', 'text_method' => '__toString', 'control_name' => 'filters[CITATION_ID]'));
?>
</td>
				</tr>
			</thead>
			<tbody>
			<?php 
if ($pager->getNbResults() < 1) {
    ?>
				<tr class="list"><td colspan="100"><div class="no_record"><?php 
    echo __('No record found');
    ?>
</div></td></tr>
			<?php 
} else {
    ?>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例2: object_input_tag

        <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($catalog, 'getVersion', array('size' => 32, 'maxlength' => 64));
?>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Cat language');
?>
</label></td>
        <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 {
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplAvSuccess.php

示例3: input_tag

		 		<td class='filter'><?php 
echo input_tag('filters[NAME]', isset($filters['NAME']) ? $filters['NAME'] : null, array('size' => 20));
?>
</td>
				<td class='filter'><?php 
echo input_tag('filters[index]', isset($filters['index']) ? $filters['index'] : null, array('size' => 15));
?>
</td>
				<td class='filter'><?php 
echo input_tag('filters[TITLE]', isset($filters['TITLE']) ? $filters['index'] : null, array('size' => 35));
?>
</td>

				<td class='filter'>
				<?php 
echo object_select_tag(isset($filters['department_id']) ? $filters['department_id'] : null, null, array('include_blank' => true, 'related_class' => 'VDepartment', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered', 'control_name' => 'filters[department_id]', 'style' => "width: 80px;"));
?>
</td>

				<td class='filter'>
				<?php 
echo input_date_range_tag('filters[ORDER_DATE]', isset($filters['ORDER_DATE']) ? $filters['ORDER_DATE'] : null, array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif', 'middle' => '<br/>'));
?>
</td>

                    		<td class='filter'>
				<?php 
echo input_date_range_tag('filters[DUE_DATE]', isset($filters['DUE_DATE']) ? $filters['DUE_DATE'] : null, array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif', 'middle' => '<br/>'));
?>
</td>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:listLateSuccess.php

示例4: input_tag

?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[NAME]', isset($filters['NAME']) ? $filters['NAME'] : null, array('size' => 15));
?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[CREDIT]', isset($filters['CREDIT']) ? $filters['CREDIT'] : null, array('size' => 12));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['SUBJECT_GROUP_ID']) ? $filters['SUBJECT_GROUP_ID'] : null, null, array('include_blank' => true, 'related_class' => 'SubjectGroup', 'text_method' => '__toString', 'control_name' => 'filters[SUBJECT_GROUP_ID]'));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Department', 'peer_method' => 'doSelectOrdered', 'control_name' => 'filters[DEPARTMENT_ID]'));
?>
</td>
				</tr>
			</thead>
			<tbody>
			<?php 
if ($pager->getNbResults() < 1) {
    ?>
				<tr class="list"><td colspan="100"><div class="no_record"><?php 
    echo __('No record found');
    ?>
</div></td></tr>
			<?php 
} else {
    ?>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例5: object_input_tag

                <label style="width: 150px;">Nama Ibu *</label>
				<?php 
echo object_input_tag($applicant_detail, 'getCompany', array('size' => 40, 'maxlength' => 255));
?>
                <?php 
echo form_error('company');
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
                <label style="width: 150px;">Negara</label>
                <?php 
echo object_select_tag($applicant_detail, 'getNationality', array('related_class' => 'Country', 'peer_metod' => 'doSelectOrdered', 'include_blank' => false), 100);
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
                <label style="width: 150px;">Wilayah</label>
                <?php 
echo object_select_tag($applicant_detail, 'getRegionId', array('related_class' => 'Region', 'include_blank' => true));
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
                <label style="width: 150px;">Alamat</label>
                <?php 
echo object_textarea_tag($applicant_detail, 'getAddress', array('rows' => 2, 'cols' => 32));
?>
				<p style="font-size: 10px; margin-top: -7px; margin-left: 150px;"></p>
                <label style="width: 150px;">No. Telp *</label>
                <?php 
echo object_input_tag($applicant_detail, 'getPhone', array('size' => 24));
?>
				<?php 
echo form_error('phone');
?>
                <p style="font-size: 10px; margin-top: -7px; margin-left: 150px;">
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:registerSuccess.php

示例6: submit_image_tag

                </tr>
				
                <tr class="list" id='filter' <?php 
if (!isset($filters)) {
    echo 'style="display: none;"';
}
?>
>
					<td class='filter'>
						<?php 
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
					<td class='filter_first'>
					<?php 
echo object_select_tag(isset($filters['cat_category_id']) ? $filters['cat_category_id'] : null, null, array('include_blank' => true, 'related_class' => 'CatCategory', 'text_method' => '__toString', 'control_name' => 'filters[cat_category_id]'));
?>
                    </td>
					<td>
                    <?php 
echo input_tag('filters[PUBLISHED_YEAR]', isset($filters['PUBLISHED_YEAR']) ? $filters['PUBLISHED_YEAR'] : null, array('size' => 10));
?>
                    <?php 
#echo input_date_range_tag('filters[PUBLISHED_YEAR]', isset($filters['PUBLISHED_YEAR']) ? $filters['PUBLISHED_YEAR'] : null, array ( 'rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif', 'middle' => ' &nbsp; s/d &nbsp;', ))
?>
                    </td> 
                    <td>
                    <?php 
echo input_tag('filters[TOTAL_COL_ITEM]', isset($filters['TOTAL_COL_ITEM']) ? $filters['TOTAL_COL_ITEM'] : null, array('size' => 10));
?>
                    </td>     
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listMaterialSuccess.php

示例7: form_error

 form-error<?php 
}
?>
">
  <?php 
if ($sf_request->hasError('tabla{id_categoria}')) {
    ?>
    <?php 
    echo form_error('tabla{id_categoria}', array('class' => 'form-error-msg'));
    ?>
  <?php 
}
?>

  <?php 
$value = object_select_tag($tabla, 'getIdCategoria', array('related_class' => 'Parametro', 'control_name' => 'tabla[id_categoria]', 'peer_method' => 'getCategorias', 'include_custom' => "- " . __('Sin definir') . " -"));
echo $value ? $value : '&nbsp;';
?>
  </div>
</div>

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

示例8: input_tag

</td>
					
                    <td class='filter'><?php 
echo input_tag('filters[NAME]', isset($filters['NAME']) ? $filters['NAME'] : null, array('size' => 15));
?>
</td>
					
                    <td class='filter'>
					<?php 
echo object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Department', 'peer_method' => 'doSelectFiltered', 'control_name' => 'filters[DEPARTMENT_ID]'));
?>
</td>
					
                    <td class='filter'>
					<?php 
echo object_select_tag(isset($filters['STAFF_TYPE_ID']) ? $filters['STAFF_TYPE_ID'] : null, null, array('include_blank' => true, 'related_class' => 'StaffType', 'text_method' => '__toString', 'control_name' => 'filters[STAFF_TYPE_ID]'));
?>
</td>
                    <td class="filter">&nbsp;</td>
				</tr>
			</thead>
			<tbody>
			<?php 
if ($pager->getNbResults() < 1) {
    ?>
				<tr class="list"><td colspan="100"><div class="no_record"><?php 
    echo __('No record found');
    ?>
</div></td></tr>
			<?php 
} else {
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listByStudentSuccess.php

示例9: submit_image_tag

?>
>
                        <td class='filter'><?php 
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
                        <td class='filter_first'><?php 
echo object_select_tag(isset($filters['ACADEMIC_CALENDAR_ID']) ? $filters['ACADEMIC_CALENDAR_ID'] : null, null, array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_CALENDAR_ID]', 'peer_method' => 'doSelectFiltered', 'style' => 'width: 150px;'));
?>
</td>
                        <!--td class='filter'><?php 
#echo object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Department', 'peer_method'=>'doSelectFiltered', 'control_name' => 'filters[DEPARTMENT_ID]',))
?>
</td-->
                        <td class='filter'><?php 
echo object_select_tag(isset($filters['CLASS_GROUP_ID']) ? $filters['CLASS_GROUP_ID'] : null, null, array('include_blank' => true, 'related_class' => 'VClassParent', 'peer_method' => 'doSelectFiltered', 'control_name' => 'filters[CLASS_GROUP_ID]', 'style' => 'width: 100px;'));
?>
</td>
                        <td class='filter'><?php 
echo input_tag('filters[CODE_CLASS]', isset($filters['CODE_CLASS']) ? $filters['CODE_CLASS'] : null, array('size' => 7));
?>
</td>
                        <td class='filter'><?php 
echo input_tag('filters[EMPLOYEE_NAME]', isset($filters['EMPLOYEE_NAME']) ? $filters['EMPLOYEE_NAME'] : null, array('size' => 15));
?>
</td>
                    </tr>
                </thead>
                <tbody>
                    <?php 
if ($pager->getNbResults() < 1) {
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例10: __

                        </td>
                    </tr>
                <?php 
}
?>
        
                    
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Academic calendar');
?>
</label></td>
                        <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                             <?php 
echo object_select_tag($employee_medical, 'getAcademicCalendarId', array('related_class' => 'AcademicCalendar', 'include_blank' => true, 'peer_method' => 'doSelectSpecial'));
?>
                             <?php 
echo form_error('academic_calendar_id');
?>
                       </td>
                    </tr> 
                    
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Hospital');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                            <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例11: my_object_select_tag

                        <td width="2%" class="first" style="text-align:center; vertical-align:top;">:</td>
                        <td style="vertical-align:top;" class="first">
                            <?php 
echo my_object_select_tag($course_schedule, 'getAcademicCalendarId', AcademicCalendarPeer::getParents(), array('include_blank' => true, 'related_class' => 'AcademicCalendar', 'text_method' => '__toString', 'peer_method' => 'doSelectFiltered', 'name' => 'accal2', 'id' => 'accal2'));
?>
                            <?php 
echo form_error('accal2');
?>
                        </td>
                    </tr>

                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Class group');
?>
</label></td>
                        <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
                        <td style="vertical-align:middle;">
                            <?php 
echo object_select_tag($course_schedule, 'getClassGroupId', array('related_class' => 'ClassGroup', 'include_blank' => true, 'peer_method' => 'doSelectFiltered', 'name' => 'class2', 'id' => 'class2'));
?>
                            <?php 
echo form_error('class2');
?>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:copySuccess.php

示例12: select_tag

            				<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
					<td style="vertical-align:middle;">
					<?php 
echo select_tag('day', options_for_select(array('1' => __('_DAY_MONDAY_'), '2' => __('_DAY_TUESDAY_'), '3' => __('_DAY_WEDNESDAY_'), '4' => __('_DAY_THURSDAY_'), '5' => __('_DAY_FRIDAY_'), '6' => __('_DAY_SATURDAY_'), '7' => __('_DAY_SUNDAY_')), $cs_detail->getDay()), array('include_blank' => false));
?>
					<?php 
echo form_error('day');
?>
            				</td>
        			</tr>
				<tr>
          				<td style="vertical-align: middle;"><label><?php 
echo __('Class session');
?>
</label></td>
           				<td style="text-align: center; vertical-align: middle;">:</td>
					<td style="vertical-align: middle;">
						<?php 
echo object_select_tag($cs_detail, 'getClassSessionId', array('related_class' => 'ClassSession', 'peer_method' => 'doSelectOrdered', 'include_blank' => true));
?>
            				</td>
        			</tr>	
			</tbody>
		</table>	
	</td></tr>
	</table>
	</td>
</tr>
</table>
</form>    		
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:editScheduleSuccess.php

示例13: submit_image_tag

    echo 'style=""';
}
?>
>
					<td class='filter'><?php 
echo submit_image_tag('/images/magnifier.png', array('class' => 'sort', 'onclick' => "blur();"));
?>
</td>
                    
                    <td class='filter_first'><?php 
echo input_tag('filters[login]', isset($filters['login']) ? $filters['login'] : null, array('size' => 15));
?>
</td>
					
                    <td class='filter'><?php 
echo object_select_tag(isset($filters['user_group_id']) ? $filters['user_group_id'] : null, null, array('include_blank' => true, 'related_class' => 'UserGroup', 'peer_method' => 'doSelectFiltered', 'control_name' => 'filters[user_group_id]'));
?>
</td>
                    
					<td class='filter'><?php 
echo my_object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, DepartmentPeer::getParents(), array('include_blank' => true, 'related_class' => 'Department', 'peer_method' => 'doSelectOrdered', 'control_name' => 'filters[DEPARTMENT_ID]'));
?>
</td>
				</tr>
			</thead>
			<tbody>
			<?php 
if ($pager->getNbResults() < 1) {
    ?>
				<tr class="list"><td colspan="100"><div class="no_record"><?php 
    echo __('No record found');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例14: input_tag

?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[PAYER]', isset($filters['PAYER']) ? $filters['PAYER'] : null, array('size' => 15));
?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[YEAR]', isset($filters['YEAR']) ? $filters['YEAR'] : null, array('size' => 4));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['DEPARTMENT_ID']) ? $filters['DEPARTMENT_ID'] : null, null, array('include_blank' => true, 'related_class' => 'Department', 'peer_method' => 'doSelectFiltered', 'control_name' => 'filters[DEPARTMENT_ID]'));
?>
</td>
					<td class='filter'><?php 
echo object_select_tag(isset($filters['ACADEMIC_COST_COMPONENT_ID']) ? $filters['ACADEMIC_COST_COMPONENT_ID'] : null, null, array('include_blank' => true, 'related_class' => 'AcademicCostComponent', 'peer_method' => 'doFiltered', 'text_method' => '__toString', 'control_name' => 'filters[ACADEMIC_COST_COMPONENT_ID]'));
?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[AMOUNT]', isset($filters['AMOUNT']) ? $filters['AMOUNT'] : null, array('size' => 7));
?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[PAID]', isset($filters['PAID']) ? $filters['PAID'] : null, array('size' => 7));
?>
</td>
					<td class='filter'><?php 
echo input_tag('filters[AMOUNT]', isset($filters['RECEIVABLE']) ? $filters['RECEIVABLE'] : null, array('size' => 7));
?>
</td>
					<td class='filter'><?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:listSuccess.php

示例15: form_error

?>
                            <?php 
echo form_error('type_conversion');
?>
 
                        </td>         
                    </tr>
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Department');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                        <td style="vertical-align:middle;">
                            <?php 
echo object_select_tag($grade_conversion, 'getDepartmentId', array('related_class' => 'Department', 'include_blank' => true, 'peer_method' => 'doSelectFiltered'));
?>
<br />
                            <?php 
echo form_error('department_id');
?>
                        </td>         
                    </tr>
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Grade');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                        <td style="vertical-align:middle;">
                            <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php


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