本文整理汇总了PHP中X2Html::x2ActivePasswordField方法的典型用法代码示例。如果您正苦于以下问题:PHP X2Html::x2ActivePasswordField方法的具体用法?PHP X2Html::x2ActivePasswordField怎么用?PHP X2Html::x2ActivePasswordField使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类X2Html
的用法示例。
在下文中一共展示了X2Html::x2ActivePasswordField方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: renderInput
public function renderInput($attr)
{
switch ($attr) {
case 'password':
echo X2Html::x2ActivePasswordField($this, $attr, $this->htmlOptions($attr), true);
break;
default:
parent::renderInput($attr);
}
}
示例2: renderInput
public function renderInput($attr)
{
switch ($attr) {
case 'password':
echo X2Html::x2ActivePasswordField($this, $attr, $this->htmlOptions($attr), true);
break;
case 'server':
echo CHtml::activeDropDownList($this, 'server', $this->sesEndpoints, $this->htmlOptions($attr));
break;
default:
parent::renderInput($attr);
}
}
示例3: renderInput
public function renderInput($attr)
{
switch ($attr) {
case 'email':
echo '<p class="fieldhelp-thin-small">' . Yii::t('app', '(example@gmail.com)') . '</p>';
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'password':
echo X2Html::x2ActivePasswordField($this, $attr, $this->htmlOptions($attr), true);
break;
default:
parent::renderInput($attr);
}
}
示例4: renderInput
public function renderInput($attr)
{
switch ($attr) {
case 'senderName':
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'email':
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'server':
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'imapServer':
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'port':
echo CHtml::activeNumberField($this, $attr, $this->htmlOptions($attr));
break;
case 'imapPort':
echo CHtml::activeNumberField($this, $attr, $this->htmlOptions($attr));
break;
case 'security':
echo CHtml::activeDropDownList($this, $attr, array('' => 'None', 'tls' => 'TLS', 'ssl' => 'SSL'), $this->htmlOptions($attr));
break;
case 'imapSecurity':
echo CHtml::activeDropDownList($this, $attr, array('' => 'None', 'tls' => 'TLS', 'ssl' => 'SSL'), $this->htmlOptions($attr));
break;
case 'imapNoValidate':
echo CHtml::activeCheckBox($this, $attr, $this->htmlOptions($attr));
break;
case 'user':
echo CHtml::activeTextField($this, $attr, $this->htmlOptions($attr));
break;
case 'password':
echo X2Html::x2ActivePasswordField($this, $attr, $this->htmlOptions($attr), true);
break;
}
}