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


PHP object_input_date_tag函数代码示例

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


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

示例1: __

			<label ><?php 
echo __('Comments');
?>
</label><br/>
			<?php 
echo object_input_tag($payment_journal, 'getComments', array('size' => 40, 'maxlength' => 255, 'readonly' => false));
?>
			<?php 
echo form_error('comments');
?>
		</td>
		<td>
		<label><?php 
echo __('Tanggal Transaksi');
?>
</label><br/>
			<?php 
echo object_input_date_tag($payment_journal, 'getPaidAt', array('rich' => true, 'withtime' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
			<?php 
echo form_error('paid_at');
?>
		</td>
		</tr>
		
	</tbody>
	</table>
</td></tr>
</table>
</form>
开发者ID:taryono,项目名称:school,代码行数:30,代码来源:editSuccess.php

示例2: form_error

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

  <?php 
$value = object_input_date_tag($historico_documento, 'getFecha', array('rich' => true, 'calendar_button_img' => '/sf/sf_admin/images/date.png', 'control_name' => 'historico_documento[fecha]', 'disabled' => true));
echo $value ? $value : '&nbsp;';
?>
    </div>
</div>

<div class="form-row">
  <?php 
echo label_for('historico_documento[id_usuario]', __($labels['historico_documento{id_usuario}']), '');
?>
  <div class="content">
  <?php 
$usuario = $historico_documento->getUsuario();
$value = $usuario ? $usuario->__toString() : "- " . __('Sin definir') . " -";
echo $value ? $value : '&nbsp;';
?>
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:31,代码来源:_edit_form.php

示例3: object_checkbox_tag

		<?php 
    echo object_checkbox_tag($parametro, 'getSino');
    ?>
  </div>
</div>
<?php 
}
if ($DefParametro->getCampoFecha() != "") {
    ?>
<div class="form-row">
	<?php 
    echo label_for('fecha', __($DefParametro->getCampoFecha()));
    ?>
	<div class="row-data">
		<?php 
    echo object_input_date_tag($parametro, 'getFecha', "rich=true calendar_button_img=calendar_button_img");
    ?>
  </div>
</div>
<?php 
}
?>


<?php 
if ($DefParametro->getCampoFichero() != "") {
    ?>
<div class="form-row">
	<?php 
    echo label_for('nombrefichero', __($DefParametro->getCampoFichero()));
    ?>
开发者ID:Esleelkartea,项目名称:legedia-ESLE,代码行数:31,代码来源:_datos_edit.php

示例4: form_error

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

  <?php 
echo object_input_date_tag($rel_calendariovacunacion_alumno, 'getFecha', array('rich' => true, 'withtime' => true, 'calendar_button_img' => sfConfig::get('sf_admin_web_dir') . '/images/date.png', 'control_name' => 'rel_calendariovacunacion_alumno[fecha]'));
?>
    </div>
</div>

</fieldset>

<?php 
echo include_partial('edit_actions', array('rel_calendariovacunacion_alumno' => $rel_calendariovacunacion_alumno));
?>

</form>

<ul class="sf_admin_actions">
      <li class="float-left"><?php 
if ($rel_calendariovacunacion_alumno->getId()) {
开发者ID:mediasadc,项目名称:alba,代码行数:31,代码来源:editSuccess.php

示例5: input_auto_complete_tag

echo input_auto_complete_tag('name', null, '/inbox/getListEmployee', array('size' => 70), array('after_update_element' => 'function(f, s) {$("employee_id").updateFromInformalAutocomplete(f, s);}', 'min_chars' => 1));
?>
           	<?php 
#echo form_error('employee2')
?>
           </td>
        </tr>
        <tr>
           <td style="vertical-align:middle;"><label ><?php 
echo __('Tanggal Kirim');
?>
</label></td>
           <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
		   <td style="vertical-align:middle;">
			<?php 
echo object_input_date_tag($outbox_emp, 'getCreatedAt', array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif'), date('Y/m/d h:i'));
?>
			<?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 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:tmplEmployeeSuccess.php

示例6: form_error

?>
                                <?php 
echo form_error('spouse_pob');
?>
                        </td>
                   </tr> 

                   <tr>    
                        <td style="vertical-align:top;"><label><?php 
echo __('Spouse dob');
?>
</label></td>
                        <td style="text-align:center; vertical-align:top;">:</td>
                        <td style="vertical-align:middle;">
                                <?php 
echo object_input_date_tag($employee_detail, 'getSpouseDob', array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
                                <?php 
echo form_error('spouse_dob');
?>
                        </td>
                        <td style="vertical-align:middle;"><label  ><?php 
echo __('Spouse education');
?>
</label></td>
                        <td style="text-align:center; vertical-align:middle;">:</td>
                        <td style="vertical-align:middle;">
                                <?php 
echo object_input_tag($employee_detail, 'getSpouseEducation', array('size' => 16, 'maxlength' => 16));
?>
                                <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例7: form_error

?>
<br />
					<?php 
echo form_error('start');
?>
        			</td>
        		</tr>
    			<tr>
           			<td style="vertical-align:middle;"><label><?php 
echo __('End');
?>
</label></td>
           			<td style="text-align:center; vertical-align:middle;">:</td>
		   		<td style="vertical-align:middle;">
					<?php 
echo object_input_date_tag($academic_calendar, 'getEnd', array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
<br />
					<?php 
echo form_error('end');
?>
        			</td>
        		</tr>

		</tbody>
	</table>
</td></tr>
</table>

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

示例8: object_input_tag

  <td><?php 
echo object_input_tag($sf_guard_user_profile, 'getRatingCount', array('size' => 7));
?>
</td>
</tr>
<tr>
  <th>Version:</th>
  <td><?php 
echo object_input_tag($sf_guard_user_profile, 'getVersion', array('size' => 7));
?>
</td>
</tr>
<tr>
  <th>Deleted at:</th>
  <td><?php 
echo object_input_date_tag($sf_guard_user_profile, 'getDeletedAt', array('rich' => true, 'withtime' => true));
?>
</td>
</tr>
</tbody>
</table>
<hr />
<?php 
echo submit_tag('save');
if ($sf_guard_user_profile->getId()) {
    ?>
  &nbsp;<?php 
    echo link_to('delete', 'user/delete?id=' . $sf_guard_user_profile->getId(), 'post=true&confirm=Are you sure?');
    ?>
  &nbsp;<?php 
    echo link_to('cancel', 'user/show?id=' . $sf_guard_user_profile->getId());
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:editSuccess.php

示例9: object_input_date_tag

?>
</label><br/>
			<?php 
echo object_input_date_tag($student_job_history, 'getStart', array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
			<?php 
echo form_error('start');
?>
		</td></tr>
		<tr><td >
			<label><?php 
echo __('End');
?>
</label><br/>
			<?php 
echo object_input_date_tag($student_job_history, 'getEnd', array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
			<?php 
echo form_error('end');
?>
		</td></tr>
		<tr><td >
			<label><?php 
echo __('Grade');
?>
</label><br/>
			<?php 
echo object_input_tag($student_job_history, 'getGrade', array('size' => 7));
?>
			<?php 
echo form_error('grade');
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例10: object_input_tag

  <td><?php 
echo object_input_tag($campus, 'getSlug', array('size' => 80));
?>
</td>
</tr>
<tr>
  <th>Version:</th>
  <td><?php 
echo object_input_tag($campus, 'getVersion', array('size' => 7));
?>
</td>
</tr>
<tr>
  <th>Deleted at:</th>
  <td><?php 
echo object_input_date_tag($campus, 'getDeletedAt', array('rich' => true, 'withtime' => true));
?>
</td>
</tr>
</tbody>
</table>
<hr />
<?php 
echo submit_tag('save');
if ($campus->getId()) {
    ?>
  &nbsp;<?php 
    echo link_to('delete', 'campus/delete?id=' . $campus->getId(), 'post=true&confirm=Are you sure?');
    ?>
  &nbsp;<?php 
    echo link_to('cancel', 'campus/show?id=' . $campus->getId());
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:editSuccess.php

示例11: form_error

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

  <?php 
$value = object_input_date_tag($ciclolectivo, 'getFechaFin', array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/sf/sf_admin/images/date.png', 'control_name' => 'ciclolectivo[fecha_fin]', 'date_format' => 'dd/MM/yy'));
echo $value ? $value : '&nbsp;';
?>
    </div>
</div>

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

示例12: object_select_tag

echo object_select_tag($schedule, 'getLocationId', array('related_class' => 'Location', 'peer_method' => 'doSelectFiltered', 'include_blank' => true));
?>
                            <?php 
echo form_error('location_id');
?>
               </td>         
            </tr>
            <tr>
               <td style="vertical-align:middle;"><label ><?php 
echo __('Tanggal');
?>
</label></td>
               <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                            <?php 
echo object_input_date_tag($schedule, 'getDate', array('rich' => true, 'withtime' => false, 'calendar_button_img' => '/images/calendar.gif'), date('Y/m/d h:i'));
?>
                            <?php 
echo form_error('date');
?>
		   
               </td>
            </tr>
            <tr>
               <td style="vertical-align:middle;"><label><?php 
echo __('Day');
?>
</label></td>
               <td width="2%" style="text-align:center; vertical-align:middle;">:</td>
                       <td style="vertical-align:middle;">
                            <?php 
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editSuccess.php

示例13: form_error

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

              <?php 
echo object_input_date_tag($alumno, 'getFechaNacimiento', array('rich' => true, 'withtime' => false, 'calendar_button_img' => sfConfig::get('sf_admin_web_dir') . '/images/date.png', 'control_name' => 'alumno[fecha_nacimiento]'));
?>
      Edad: <input type="text" value="<?php 
echo isset($edad) ? $edad : "";
?>
" disabled="true" size="4">
                </div>
            </div>

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

示例14: label_for

             <?php 
if ($sf_request->hasError('begin')) {
    echo '<span class="form-error">' . $sf_request->getError('begin') . '</span><br />';
}
?>
             <?php 
echo label_for('begin', 'Starts'), object_input_date_tag($todo, 'getBegin', array('rich' => 'true'));
?>
<br />
             <?php 
if ($sf_request->hasError('finish')) {
    echo '<span class="form-error">' . $sf_request->getError('finish') . '</span><br />';
}
?>
             <?php 
echo label_for('finish', 'Finished'), object_input_date_tag($todo, 'getFinish', array('rich' => 'true'));
?>
<br />
             <?php 
if ($sf_request->hasError('description')) {
    echo '<span class="form-error">' . $sf_request->getError('description') . '</span><br />';
}
?>
             <?php 
echo label_for('description', 'Descrip.'), object_textarea_tag($todo, 'getDescription', array('rows' => '3', 'cols' => '10', 'style' => 'clear:left;'));
?>
             <?php 
echo submit_tag('Add Task');
?>
          </form>
        </div>
开发者ID:sgrove,项目名称:cothinker,代码行数:31,代码来源:_todoSidebar.php

示例15: object_select_tag

echo object_select_tag($student_parents, 'getPob', array('related_class' => 'Region', 'peer_method' => 'doSelectOrdered', 'include_blank' => true));
?>
						<?php 
echo form_error('pob');
?>
					</td>
                		</tr>
                		<tr>
                			<td style="vertical-align:middle;"><label ><?php 
echo __('Dob');
?>
</label></td>
                    			<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
					<td style="vertical-align:middle;">
                   	 			<?php 
echo object_input_date_tag($student_parents, 'getDob', array('rich' => true, 'calendar_button_img' => '/images/calendar.gif'));
?>
						<?php 
echo form_error('dob');
?>
					</td>
                		</tr>
                		<tr>
                			<td width="20%" style="vertical-align:middle;"><label ><?php 
echo __('Religion');
?>
</label></td>
                			<td width="2%" style="text-align:center; vertical-align:middle;">:</td>
					<td style="vertical-align:middle;">
                    				<?php 
echo object_select_tag($student_parents, 'getReligionId', array('related_class' => 'Religion', 'include_blank' => true));
开发者ID:taryono,项目名称:school,代码行数:31,代码来源:editParentSuccess.php


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