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


PHP object_input_tag函数代码示例

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


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

示例1: form_error

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

  <?php 
echo object_input_tag($rel_calendariovacunacion_alumno, 'getObservacion', array('size' => 64, 'control_name' => 'rel_calendariovacunacion_alumno[observacion]'));
?>
    </div>
</div>

<div class="form-row">
  <?php 
echo label_for('rel_calendariovacunacion_alumno[comprobante]', __('Comprobante:'), 'class="required" ');
?>
  <div class="content<?php 
if ($sf_request->hasError('rel_calendariovacunacion_alumno{comprobante}')) {
    ?>
 form-error<?php 
}
?>
">
开发者ID:mediasadc,项目名称:alba,代码行数:31,代码来源:editSuccess.php

示例2: input_auto_complete_tag

    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;">
            <?php 
echo object_input_tag($catalog, 'getPublishedYear', array('size' => 4, 'maxlength' => 4));
?>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Synopsis');
?>
</label></td>
        <td style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_textarea_tag($catalog, 'getSynopsis', array('size' => '80x4'));
?>
<br>
            <!--img src="http://lekar.muhajirien.org/muslim/video/chatt_ym.jpg" border="0"-->
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplAvSuccess.php

示例3: form_error

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

  <?php 
echo object_input_tag($legajopedagogico, 'getResumen', array('size' => 40, 'control_name' => 'legajopedagogico[resumen]'));
?>
    </div>
</div>

<div class="form-row">
  <?php 
echo label_for('legajopedagogico[texto]', __('Texto:'), 'class="required" ');
?>
  <div class="content<?php 
if ($sf_request->hasError('legajopedagogico{texto}')) {
    ?>
 form-error<?php 
}
?>
">
开发者ID:mediasadc,项目名称:alba,代码行数:31,代码来源:editSuccess.php

示例4: form_error

?>
<br />
                            <?php 
echo form_error('code');
?>
                        </td>
                    </tr>
                    <tr>
                        <td class='first' width="23%" style="vertical-align:middle;"><label><?php 
echo __('Name *');
?>
</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($cur13_term, 'getName', array('size' => 10, 'maxlength' => 255));
?>
<br />
                            <?php 
echo form_error('name');
?>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align:top;"><label><?php 
echo __('Detail *');
?>
</label></td>
                        <td style="text-align:center; vertical-align:top;">:</td>
                        <td style="vertical-align:top;">
                            <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:addTermSuccess.php

示例5: ucwords

?>
:<br />      
            <?php 
echo ucwords(__('subject'));
?>
:
          </li>
          <li>
            <?php 
if ($message->getRecipientId()) {
    echo '<em>(' . $message->getSfGuardUserRelatedByRecipientId()->getProfile()->getFullName() . ')</em><br />' . input_hidden_tag('user_recipient', $message->getSfGuardUserRelatedByRecipientId()->getProfile()->getFullName());
} else {
    echo input_auto_complete_tag('user_recipient', '', 'user/autoMessageComplete?field=recipient', 'autocomplete=false', 'use_style=true') . '<br />';
}
?>
            <?php 
echo object_input_tag($message, 'getSubject', array('style' => 'width:100%;'));
?>
          </li>
        </ul>
        <hr class="clear" />
        <?php 
echo object_textarea_tag($message, 'getBody', array('style' => 'width:100%;', 'rows' => '10'));
?>
        <?php 
echo submit_tag(ucwords(__('send')), array('class' => 'pswipebutton'));
?>
      </div>
    </form>
  </div>
</div>
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:composeSuccess.php

示例6: my_object_select_tag

		   <td style="vertical-align:middle;">
			<?php 
echo my_object_select_tag($payment_model, 'getParent', $disabled, array('related_class' => 'PaymentModel', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
			<?php 
echo form_error('parent');
?>
           </td>
        </tr>
   		<tr>
           <td style="vertical-align:middle;"><label><?php 
echo __('Description');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<?php 
echo object_input_tag($payment_model, 'getDescription', array('size' => 64, 'maxlength' => 255));
?>
			<?php 
echo form_error('description');
?>
           </td>
        </tr>
 	</tbody>
	</table>
</td></tr>
</table>

</form>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:editSuccess.php

示例7: form_error

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

      <?php 
echo object_input_tag($sf_asset, 'getCopyright', array('size' => 80, 'control_name' => 'sf_asset[copyright]'));
?>
    </div>
  </div>

  <div class="form-row">
    <?php 
echo label_for('sf_asset[type]', __('Type:', null, 'sfAsset'), '');
?>
    <div class="content<?php 
if ($sf_request->hasError('sf_asset{type}')) {
    ?>
 form-error<?php 
}
?>
">
开发者ID:rewrewby,项目名称:propertyx,代码行数:31,代码来源:_edit_form.php

示例8: form_error

echo form_error('next_school');
?>
												<div class="tips"><?php 
echo __('Nama Sekolah selanjutnya atau Sekolah Baru');
?>
</div>
											</td>
										</tr>
										<tr>
											<td><label class="applicant"><?php 
echo __('Lanjut ke Tingkat');
?>
</label></td><td>:</td>
											<td>
												<?php 
echo object_input_tag($student_leave, 'getNextLevel', array('size' => 10, 'maxlength' => 24));
?>
<br>
												<?php 
echo form_error('next_level');
?>
												<div class="tips"><?php 
echo __('Jenjang / Tingkat / Kelas yang baru');
?>
</div>
											</td>
										</tr>
									</table>
								</fieldset>	
								</td>	
							</tr>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editStatusSuccess.php

示例9: object_input_tag

</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');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
           <?php 
echo object_input_tag($facility, 'getName', array('size' => 40, 'maxlength' => 255));
?>
		   <?php 
echo form_error('name');
?>
           </td>
        </tr>
	</tbody>
	</table>
</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例10: form_error

?>
                            <br /><?php 
echo form_error('medicine');
?>
                       </td>
                    </tr>
                    
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Total Hospitalization');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                            <?php 
echo object_input_tag($employee_medical, 'getHospitalization', array('size' => 10));
?>
                            <br /><?php 
echo form_error('hospitalization');
?>
                       </td>
                    </tr>
                     
                    <tr>
                        <td style="vertical-align:middle;"><label><?php 
echo __('Status');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                            <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例11: form_tag

  <div class="blue-shadow">
    <div class="blue-content">
      <?php 
    echo form_tag('features/saveNew');
    ?>
      
      <?php 
    echo label_for('type', __('What do you want us to know about?'), array('style' => 'display:block;')), select_tag('type', options_for_select(array(sfConfig::get('app_feature_type_bug') => __('A Bug Report'), sfConfig::get('app_feature_type_feature') => __('A Feature Request'))));
    ?>

  <?php 
    echo label_for('type', __('What category is this in?'), array('style' => 'display:block;')), select_tag('category', options_for_select(array(sfConfig::get('app_feature_category_other') => __('Other'), sfConfig::get('app_feature_category_design') => __('Design'), sfConfig::get('app_feature_category_projects') => __('Projects'), sfConfig::get('app_feature_category_inbox') => __('Inbox'))));
    ?>
     
      <?php 
    echo label_for('title', __('What do you call your feature?'), array('style' => 'display:block;')), object_input_tag($new_feature, 'getTitle', array('size' => '30x3', 'style' => 'border:1px solid black;'));
    ?>
        <?php 
    echo label_for('description', __('Describe your feature in depth'), array('style' => 'display:block;')), object_textarea_tag($new_feature, 'getDescription', array('size' => '30x3'));
    ?>
      <?php 
    echo submit_tag('save', array('class' => 'btn'));
    ?>
      </form>
    </div>
  </div>
</div>
<?php 
}
foreach ($features as $feature) {
    ?>
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:listSuccess.php

示例12: object_input_tag

?>
 / 
            <?php 
echo object_input_tag($catalog, 'getHeight', array('size' => 5, 'maxlength' => 5));
?>
        </td>
    </tr>
    <tr>
        <td style="vertical-align:middle;"><label><?php 
echo __('Halaman Romawi');
?>
</label></td>
        <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
        <td style="vertical-align:middle;">
            <?php 
echo object_input_tag($catalog, 'getStudentTutor', array('size' => 6, 'maxlength' => 6));
?>
        </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>
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplJurnalSuccess.php

示例13: my_object_select_tag

</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<?php 
echo my_object_select_tag($payer_type, 'getParent', $disabled, array('related_class' => 'PayerType', 'include_blank' => true, 'peer_method' => 'doSelectOrdered'));
?>
			<?php 
echo form_error('parent');
?>
           </td>
        </tr>        
		<tr>
        	<td width="15%" style="vertical-align:middle;"><label><?php 
echo __('Description');
?>
</label><br/>
            <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
            <td style="vertical-align:middle;">  
			<?php 
echo object_input_tag($payer_type, 'getDescription', array('size' => 40, 'maxlength' => 255));
?>
			<?php 
echo form_error('description');
?>
		</td></tr>
	</tbody>
	</table>
</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:editSuccess.php

示例14: object_input_tag

?>
</div></label></label>
        </fieldset>
        <fieldset style="display:inline;">
          <legend>Personal Info</legend>
          <label for="first_name">First Name:
            <div class="registration-input"><?php 
echo object_input_tag($profile, 'getFirstName');
if ($sf_request->hasError('first_name')) {
    echo '<span class="form-error">' . $sf_request->getError('first_name') . '</span>';
}
?>
</div></label>
          <label for="last_name">Last Name:
            <div class="registration-input"><?php 
echo object_input_tag($profile, 'getLastName');
if ($sf_request->hasError('last_name')) {
    echo '<span class="form-error">' . $sf_request->getError('last_name') . '</span>';
}
?>
</div></label>
          <label for="department">Department:
            <div class="registration-input"><?php 
echo select_tag('department', objects_for_select($departments, 'getUuid', 'getName', $profile->getDepartmentId(), array()), array('class' => 'xxx'));
if ($sf_request->hasError('department')) {
    echo '<span class="form-error">' . $sf_request->getError('department') . '</span>';
}
?>
</div></label>
        </fieldset>
      </div>
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:signUpSuccess.php

示例15: form_error

?>
			<?php 
#echo form_error('created_at')
?>
		   
           </td>
        </tr>
    	<tr>
           <td style="vertical-align:middle;"><label><?php 
echo __('Judul');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<?php 
echo object_input_tag($outbox_emp, 'getSubject', array('size' => 40, 'maxlength' => 255));
?>
			<?php 
#echo form_error('subject')
?>
</td>
        </tr>
        <tr>
           <td style="vertical-align:top;"><label><?php 
echo __('Detail');
?>
</label></td>
           <td style="text-align:center; vertical-align:top;">:</td>
           <td style="vertical-align:top;">
           <?php 
echo object_textarea_tag($outbox_emp, 'getDetail', array('size' => '50x3'));
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplEmployeeSuccess.php


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