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


PHP GxHtml::encodeEx方法代码示例

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


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

示例1: array

		<div class="row">
		<?php echo $form->labelEx($model,'fono'); ?>
		<?php echo $form->textField($model, 'fono', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'fono'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'mail'); ?>
		<?php echo $form->textField($model, 'mail', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'mail'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model, 'username', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'username'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model, 'password', array('maxlength' => 45)); ?>
		<?php echo $form->error($model,'password'); ?>
		</div><!-- row -->

		<label><?php echo GxHtml::encode($model->getRelationLabel('locals')); ?></label>
		<?php echo $form->checkBoxList($model, 'locals', GxHtml::encodeEx(GxHtml::listDataEx(Local::model()->findAllAttributes(null, true)), false, true)); ?>
		<label><?php echo GxHtml::encode($model->getRelationLabel('userPlans')); ?></label>
		<?php echo $form->checkBoxList($model, 'userPlans', GxHtml::encodeEx(GxHtml::listDataEx(UserPlan::model()->findAllAttributes(null, true)), false, true)); ?>

<?php
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:rapbore,项目名称:comar,代码行数:31,代码来源:_form.php

示例2:

echo $form->textArea($model, 'slogan_en');
?>
		<?php 
echo $form->error($model, 'slogan_en');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'slogan_ar');
?>
		<?php 
echo $form->textArea($model, 'slogan_ar');
?>
		<?php 
echo $form->error($model, 'slogan_ar');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('distributions'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'distributions', GxHtml::encodeEx(GxHtml::listDataEx(Distribution::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:hanihh,项目名称:vvs_v2,代码行数:31,代码来源:_form.php

示例3: array

?>
        <?php 
echo $form->error($model, 'body');
?>
    </div>
    <!-- row -->
    <div class="row">
        <?php 
echo $form->labelEx($model, 'status');
?>
        <?php 
echo $form->dropDownList($model, 'status', array(0 => 'Ẩn', 1 => 'Hiện'));
?>
        <?php 
echo $form->error($model, 'status');
?>
    </div>

    <label><?php 
echo GxHtml::encode($model->getRelationLabel('classGuitars'));
?>
</label>
    <?php 
echo $form->checkBoxList($model, 'classGuitars', GxHtml::encodeEx(GxHtml::listDataEx(ClassGuitar::model()->findAllAttributes(null, true)), false, true));
?>

    <?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:ngdvan,项目名称:lntguitar,代码行数:31,代码来源:_form.php

示例4:

echo $form->dropDownList($model, 'country_id', GxHtml::listDataEx(Country::model()->findAllAttributes(null, true)));
?>
		<?php 
echo $form->error($model, 'country_id');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'last_update');
?>
		<?php 
echo $form->textField($model, 'last_update');
?>
		<?php 
echo $form->error($model, 'last_update');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('addresses'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'addresses', GxHtml::encodeEx(GxHtml::listDataEx(Address::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton('Save');
$this->endWidget();
?>
</div><!-- form -->
开发者ID:schmunk42,项目名称:yii-sakila-crud,代码行数:31,代码来源:_form.php

示例5: array

echo $form->textField($model, 'name', array('maxlength' => 20));
?>
		<?php 
echo $form->error($model, 'name');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'code');
?>
		<?php 
echo $form->textField($model, 'code', array('maxlength' => 10));
?>
		<?php 
echo $form->error($model, 'code');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('governorates'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'governorates', GxHtml::encodeEx(GxHtml::listDataEx(Governorate::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:hanihh,项目名称:vvs_v2,代码行数:31,代码来源:_form.php

示例6: array

echo $form->textField($model, 'precio');
?>
		<?php 
echo $form->error($model, 'precio');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'descripcion');
?>
		<?php 
echo $form->textField($model, 'descripcion');
?>
		<?php 
echo $form->error($model, 'descripcion');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('pedidos'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'pedidos', GxHtml::encodeEx(GxHtml::listDataEx(Pedido::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'), array('onClick' => "this.disabled=true;this.value='" . Yii::t('app', 'Enviando') . "';this.form.submit();"));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:rapbore,项目名称:rch2,代码行数:31,代码来源:_form.php

示例7:

echo $form->dropDownList($model, 'type_id', GxHtml::listDataEx(CompanyStructureType::model()->findAllAttributes(null, true)));
?>
		<?php 
echo $form->error($model, 'type_id');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'location_id');
?>
		<?php 
echo $form->dropDownList($model, 'location_id', GxHtml::listDataEx(Location::model()->findAllAttributes(null, true)));
?>
		<?php 
echo $form->error($model, 'location_id');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('companyStructures'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'companyStructures', GxHtml::encodeEx(GxHtml::listDataEx(CompanyStructure::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton('Save');
$this->endWidget();
?>
</div><!-- form -->
开发者ID:Rudianasaja,项目名称:cycommerce,代码行数:31,代码来源:_form.php

示例8: array

echo $form->textField($model, 'documento', array('maxlength' => 255));
?>
		<?php 
echo $form->error($model, 'documento');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'tabla');
?>
		<?php 
echo $form->textField($model, 'tabla', array('maxlength' => 70));
?>
		<?php 
echo $form->error($model, 'tabla');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('documentoExistentes'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'documentoExistentes', GxHtml::encodeEx(GxHtml::listDataEx(DocumentoExistente::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:MGGROUP,项目名称:SAMDEPURACION,代码行数:31,代码来源:_form.php

示例9: array

echo $form->textField($model, 'name', array('maxlength' => 50));
?>
		<?php 
echo $form->error($model, 'name');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'description');
?>
		<?php 
echo $form->textField($model, 'description', array('maxlength' => 200));
?>
		<?php 
echo $form->error($model, 'description');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('assignments'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'assignments', GxHtml::encodeEx(GxHtml::listDataEx(Assignment::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
开发者ID:nov072008,项目名称:yiitesting,代码行数:31,代码来源:BatchUpdate.php


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