當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。