Class UHtml
CHtml is a static class that provides a collection of helper methods for creating HTML views.
- CHtml
-
UHtml
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 1.0
Located at mishamx/yii-user/components/UHtml.php
Methods summary
public static
|
|
public static
string
|
#
activeDateField( CModel $model, string $attribute, array $htmlOptions = array() )
Generates a date field input for a model attribute. If the attribute has
input error, the input field's CSS class will be appended with |
public static
|
Methods inherited from CHtml
activeCheckBox(),
activeCheckBoxList(),
activeDropDownList(),
activeEmailField(),
activeFileField(),
activeHiddenField(),
activeId(),
activeInputField(),
activeLabel(),
activeLabelEx(),
activeListBox(),
activeName(),
activeNumberField(),
activePasswordField(),
activeRadioButton(),
activeRadioButtonList(),
activeRangeField(),
activeTextArea(),
activeTextField(),
activeUrlField(),
addErrorCss(),
ajax(),
ajaxButton(),
ajaxLink(),
ajaxSubmitButton(),
asset(),
beginForm(),
button(),
cdata(),
checkBox(),
checkBoxList(),
clientChange(),
closeTag(),
css(),
cssFile(),
decode(),
dropDownList(),
encode(),
encodeArray(),
endForm(),
error(),
errorSummary(),
fileField(),
form(),
getIdByName(),
hiddenField(),
htmlButton(),
image(),
imageButton(),
inputField(),
label(),
link(),
linkButton(),
linkTag(),
listBox(),
listData(),
listOptions(),
mailto(),
metaTag(),
normalizeUrl(),
openTag(),
pageStateField(),
passwordField(),
radioButton(),
radioButtonList(),
refresh(),
renderAttributes(),
resetButton(),
resolveName(),
resolveNameID(),
resolveValue(),
script(),
scriptFile(),
statefulForm(),
submitButton(),
tag(),
textArea(),
textField(),
value()
Magic methods summary
Constants summary
Constants inherited from CHtml
ID_PREFIX
Properties summary
Properties inherited from CHtml
$afterRequiredLabel,
$beforeRequiredLabel,
$count,
$errorCss,
$errorMessageCss,
$errorSummaryCss,
$liveEvents,
$requiredCss