Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • UHtml

Class UHtml

CHtml is a static class that provides a collection of helper methods for creating HTML views.

CHtml
Extended by UHtml
Package: system\web\helpers
Author: Qiang Xue <qiang.xue@gmail.com>
Version: $Id$
Since: 1.0
Located at mishamx/yii-user/components/UHtml.php

Methods summary

public static
# activeTimeField( mixed $model, mixed $attribute, mixed $htmlOptions = array() )
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 CHtml::$errorCss.

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 CHtml::$errorCss.

Parameters

$model
CModel
$model the data model
$attribute
string
$attribute the attribute
$htmlOptions
array
$htmlOptions additional HTML attributes. Besides normal HTML attributes, a few special attributes are also recognized (see CHtml::clientChange() and CHtml::tag() for more details.)

Returns

string
the generated input field

Since

1.1.11

See

CHtml::clientChange()
CHtml::activeInputField()

Overrides

CHtml::activeDateField
public static
# markSearch( mixed $model, mixed $field, mixed $prefix = '<strong>', mixed $sufix = '</strong>' )

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

Phundament App Class Reference API documentation generated by ApiGen 2.8.0