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


PHP ActiveRecord::getDateFormatJquery方法代码示例

本文整理汇总了PHP中ActiveRecord::getDateFormatJquery方法的典型用法代码示例。如果您正苦于以下问题:PHP ActiveRecord::getDateFormatJquery方法的具体用法?PHP ActiveRecord::getDateFormatJquery怎么用?PHP ActiveRecord::getDateFormatJquery使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ActiveRecord的用法示例。


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

示例1: array

        <?php 
echo $form->error($model, 'schedule_date');
?>
    </div>
        
    <div class="in-row clearfix">
        <?php 
echo $form->labelEx($model, 'schedule_time', array('class' => 'lb'));
?>
        <div class="group-4">
            <?php 
Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker');
?>
                <?php 
//                $this->widget('zii.widgets.jui.CJuiDatePicker', array(
$this->widget('CJuiDateTimePicker', array('model' => $model, 'attribute' => 'schedule_time', 'mode' => 'time', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => 'text w-5', 'style' => 'width: 200px;', 'readonly' => true)));
?>
        </div>
        <?php 
echo $form->error($model, 'schedule_time');
?>
    </div>
        
    <div class="in-row clearfix">
        <?php 
echo $form->labelEx($model, 'remark', array('class' => 'lb'));
?>
        <div class="group-4">
            <?php 
echo $form->textArea($model, 'remark', array('class' => 'text w-0', 'size' => 60, 'maxlength' => 255));
?>
开发者ID:jasonhai,项目名称:onehome,代码行数:31,代码来源:AddAirconService.php

示例2: array

echo Yii::t('translation', $form->labelEx($model, 'voucher_ma_gross_comm'));
?>
		<?php 
echo $form->textField($model, 'voucher_ma_gross_comm', array('size' => 60, 'maxlength' => 16, 'class' => 'number_only'));
?>
		<?php 
echo $form->error($model, 'voucher_ma_gross_comm');
?>
	</div>
    
        <div class="row">
		<?php 
echo Yii::t('translation', $form->labelEx($model, 'receipt_date_paid'));
?>
                <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'receipt_date_paid', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => '', 'style' => 'width: 200px;margin-right:10px;', 'readonly' => 'readonly')));
?>
            <?php 
echo $form->error($model, 'receipt_date_paid');
?>
	</div>
    

	<div class="row buttons" style="padding-left: 135px;">
		        <?php 
$this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'label' => $model->isNewRecord ? Yii::t('translation', 'Create') : Yii::t('translation', 'Save'), 'type' => 'null', 'size' => 'small'));
?>
	
        <button class="iframe_close" type="button">Cancel</button>
        </div>
开发者ID:jasonhai,项目名称:onehome,代码行数:30,代码来源:_form.php

示例3: array

                <div class="in-row clearfix pass_expiry_date">
                    <!--<label class="lb">Pass Expiry Date <span class="require">*</span> :</label>-->
                    <?php 
echo $form->labelEx($model, 'pass_expiry_date', array('class' => 'lb'));
?>

                    <?php 
if ($model->pass_expiry_date != '') {
    $model->pass_expiry_date = DateHelper::toDateFormat($model->pass_expiry_date);
}
?>

                    <div class="group-4">
                        <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'pass_expiry_date', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/admin/images/icon_calendar_r.gif', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => 'w-16', 'style' => 'height:20px;width:245px;margin-left:3px;')));
?>

                        <?php 
echo $form->error($model, 'pass_expiry_date');
?>

                    </div>
                </div>

                <div class="in-row clearfix scanned_employment_pass">
                    <!--<label class="lb">Upload Employment Pass/Passport <span class="require"></span> :</label>-->
                    <?php 
echo $form->labelEx($model, 'scanned_employment_pass', array('class' => 'lb'));
?>
开发者ID:jasonhai,项目名称:onehome,代码行数:29,代码来源:myprofile_form.php

示例4: array

echo $form->dropDownList($mTransactions->mTenatDefault, 'id_type', Users::$aIdType, array('empty' => 'Select', 'class' => 'text'));
?>
                    <?php 
echo $form->error($mTransactions->mTenatDefault, 'id_type');
?>
                </div>
                
            </div>

            <div class="in-row clearfix pass_expiry_date">
                <?php 
echo $form->labelEx($mTransactions->mTenatDefault, 'pass_expiry_date', array('class' => 'lb'));
?>
                <div class="group-4">
                    <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $mTransactions->mTenatDefault, 'attribute' => 'pass_expiry_date', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true), 'htmlOptions' => array('class' => 'text', 'style' => 'width:166px;')));
?>
                    <?php 
echo $form->error($mTransactions->mTenatDefault, 'pass_expiry_date');
?>
                </div>                
            </div>        

            <div class="in-row clearfix scanned_employment_pass">
                <?php 
$display = 'display_none';
$scanned_employment_pass = $mTransactions->mTenatDefault->scanned_employment_pass;
$mUserRelation = $mTransactions->mTenatDefault->rUser;
//                        if($mUserRelation){
//                            $scanned_employment_pass = $mUserRelation->upload_employment_pass_passport;
//                        }
开发者ID:jasonhai,项目名称:onehome,代码行数:31,代码来源:_box_sub_tenant_details.php

示例5: array

    <div class="row more_col daily_col report_type_1">
        <div class="mycol1">
                <?php 
echo Yii::t('translation', $form->label($model, 'date_from'));
?>
                <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'date_from', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'maxDate' => '0', 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true, 'showButtonPanel' => true), 'htmlOptions' => array('class' => 'w-16', 'size' => '16', 'readonly' => 'readonly', 'style' => 'float:left;margin-right: 10px;')));
?>
     		
        </div>
        <div class="mycol2">
                <?php 
echo Yii::t('translation', $form->label($model, 'date_to'));
?>
                <?php 
$this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'attribute' => 'date_to', 'options' => array('showAnim' => 'fold', 'dateFormat' => ActiveRecord::getDateFormatJquery(), 'maxDate' => '0', 'changeMonth' => true, 'changeYear' => true, 'showOn' => 'button', 'buttonImage' => Yii::app()->theme->baseUrl . '/img/calendar-ico.png', 'buttonImageOnly' => true, 'showButtonPanel' => true), 'htmlOptions' => array('readonly' => 'readonly', 'class' => 'w-16', 'size' => '16', 'style' => 'float:left;margin-right: 10px;')));
?>
     		
        </div>
    </div>
    
    <div class="row buttons" style="padding-left: 159px;">
        <?php 
$this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'label' => Yii::t('translation', 'Show Report'), 'type' => 'null', 'size' => 'small'));
?>
	
        <?php 
// if(isset($_SESSION['REPORT_DATA']['COUNT_TRANS'])):
$cAction = strtolower(Yii::app()->controller->action->id);
$link = Yii::app()->createAbsoluteUrl('admin/transactions/summaryReport', array('to_excel' => 1));
?>
开发者ID:jasonhai,项目名称:onehome,代码行数:31,代码来源:_search.php


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