HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbHtml Class Reference

Static Public Member Functions

static lead ($text, $htmlOptions=array())
static small ($text, $htmlOptions=array())
static b ($text, $htmlOptions=array())
static i ($text, $htmlOptions=array())
static em ($text, $htmlOptions=array(), $tag= 'p')
static muted ($text, $htmlOptions=array(), $tag= 'p')
static mutedSpan ($text, $htmlOptions=array())
static abbr ($text, $word, $htmlOptions=array())
static smallAbbr ($text, $word, $htmlOptions=array())
static address ($text, $htmlOptions=array())
static quote ($text, $htmlOptions=array())
static help ($text, $htmlOptions=array())
static helpBlock ($text, $htmlOptions=array())
static code ($code, $htmlOptions=array())
static codeBlock ($code, $htmlOptions=array())
static tag ($tag, $htmlOptions=array(), $content=false, $closeTag=true)
static openTag ($tag, $htmlOptions=array())
static formTb ($layout=self::FORM_LAYOUT_VERTICAL, $action= '', $method= 'post', $htmlOptions=array())
static beginFormTb ($layout=self::FORM_LAYOUT_VERTICAL, $action= '', $method= 'post', $htmlOptions=array())
static statefulFormTb ($layout=self::FORM_LAYOUT_VERTICAL, $action= '', $method= 'post', $htmlOptions=array())
static textField ($name, $value= '', $htmlOptions=array())
static passwordField ($name, $value= '', $htmlOptions=array())
static urlField ($name, $value= '', $htmlOptions=array())
static emailField ($name, $value= '', $htmlOptions=array())
static numberField ($name, $value= '', $htmlOptions=array())
static rangeField ($name, $value= '', $htmlOptions=array())
static dateField ($name, $value= '', $htmlOptions=array())
static textArea ($name, $value= '', $htmlOptions=array())
static radioButton ($name, $checked=false, $htmlOptions=array())
static checkBox ($name, $checked=false, $htmlOptions=array())
static dropDownList ($name, $select, $data, $htmlOptions=array())
static listBox ($name, $select, $data, $htmlOptions=array())
static radioButtonList ($name, $select, $data, $htmlOptions=array())
static inlineRadioButtonList ($name, $select, $data, $htmlOptions=array())
static checkBoxList ($name, $select, $data, $htmlOptions=array())
static inlineCheckBoxList ($name, $select, $data, $htmlOptions=array())
static uneditableField ($value= '', $htmlOptions=array())
static searchField ($name, $value= '', $htmlOptions=array())
static textFieldControlGroup ($name, $value= '', $htmlOptions=array())
static passwordFieldControlGroup ($name, $value= '', $htmlOptions=array())
static urlFieldControlGroup ($name, $value= '', $htmlOptions=array())
static emailFieldControlGroup ($name, $value= '', $htmlOptions=array())
static numberFieldControlGroup ($name, $value= '', $htmlOptions=array())
static rangeFieldControlGroup ($name, $value= '', $htmlOptions=array())
static dateFieldControlGroup ($name, $value= '', $htmlOptions=array())
static textAreaControlGroup ($name, $value= '', $htmlOptions=array())
static fileFieldControlGroup ($name, $value= '', $htmlOptions=array())
static radioButtonControlGroup ($name, $checked=false, $htmlOptions=array())
static checkBoxControlGroup ($name, $checked=false, $htmlOptions=array())
static dropDownListControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static listBoxControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static radioButtonListControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static inlineRadioButtonListControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static checkBoxListControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static inlineCheckBoxListControlGroup ($name, $select= '', $data=array(), $htmlOptions=array())
static uneditableFieldControlGroup ($value= '', $htmlOptions=array())
static searchFieldControlGroup ($name, $value= '', $htmlOptions=array())
static controlGroup ($type, $name, $value, $htmlOptions=array(), $data=array())
static activeTextField ($model, $attribute, $htmlOptions=array())
static activePasswordField ($model, $attribute, $htmlOptions=array())
static activeUrlField ($model, $attribute, $htmlOptions=array())
static activeEmailField ($model, $attribute, $htmlOptions=array())
static activeNumberField ($model, $attribute, $htmlOptions=array())
static activeRangeField ($model, $attribute, $htmlOptions=array())
static activeDateField ($model, $attribute, $htmlOptions=array())
static activeTextArea ($model, $attribute, $htmlOptions=array())
static activeRadioButton ($model, $attribute, $htmlOptions=array())
static activeCheckBox ($model, $attribute, $htmlOptions=array())
static activeDropDownList ($model, $attribute, $data, $htmlOptions=array())
static activeListBox ($model, $attribute, $data, $htmlOptions=array())
static activeRadioButtonList ($model, $attribute, $data, $htmlOptions=array())
static activeInlineRadioButtonList ($model, $attribute, $data, $htmlOptions=array())
static activeCheckBoxList ($model, $attribute, $data, $htmlOptions=array())
static activeInlineCheckBoxList ($model, $attribute, $data, $htmlOptions=array())
static activeUneditableField ($model, $attribute, $htmlOptions=array())
static activeSearchField ($model, $attribute, $htmlOptions=array())
static activeTextFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activePasswordFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeUrlFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeEmailFieldControlGroup ($name, $value= '', $htmlOptions=array())
static activeNumberFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeRangeFieldControlGroup ($name, $value= '', $htmlOptions=array())
static activeDateFieldControlGroup ($name, $value= '', $htmlOptions=array())
static activeTextAreaControlGroup ($model, $attribute, $htmlOptions=array())
static activeFileFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeRadioButtonControlGroup ($model, $attribute, $htmlOptions=array())
static activeCheckBoxControlGroup ($model, $attribute, $htmlOptions=array())
static activeDropDownListControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeListBoxControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeRadioButtonListControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeInlineRadioButtonListControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeCheckBoxListControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeInlineCheckBoxListControlGroup ($model, $attribute, $data=array(), $htmlOptions=array())
static activeUneditableFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeSearchFieldControlGroup ($model, $attribute, $htmlOptions=array())
static activeControlGroup ($type, $model, $attribute, $htmlOptions=array(), $data=array())
static errorSummary ($model, $header=null, $footer=null, $htmlOptions=array())
static error ($model, $attribute, $htmlOptions=array())
static controls ($controls, $htmlOptions=array())
static controlsRow ($controls, $htmlOptions=array())
static formActions ($actions, $htmlOptions=array())
static searchForm ($action, $method= 'post', $htmlOptions=array())
static navbarForm ($action, $method= 'post', $htmlOptions=array())
static navbarSearchForm ($action, $method= 'post', $htmlOptions=array())
static link ($text, $url= '#', $htmlOptions=array())
static button ($label= 'Button', $htmlOptions=array())
static htmlButton ($label= 'Button', $htmlOptions=array())
static submitButton ($label= 'Submit', $htmlOptions=array())
static resetButton ($label= 'Reset', $htmlOptions=array())
static imageButton ($src, $htmlOptions=array())
static linkButton ($label= 'Submit', $htmlOptions=array())
static ajaxLink ($text, $url, $ajaxOptions=array(), $htmlOptions=array())
static ajaxButton ($label, $url, $ajaxOptions=array(), $htmlOptions=array())
static ajaxSubmitButton ($label, $url, $ajaxOptions=array(), $htmlOptions=array())
static btn ($type, $label, $htmlOptions=array())
static imageRounded ($src, $alt= '', $htmlOptions=array())
static imageCircle ($src, $alt= '', $htmlOptions=array())
static imagePolaroid ($src, $alt= '', $htmlOptions=array())
static image ($src, $alt= '', $htmlOptions=array())
static icon ($icon, $htmlOptions=array(), $tagName= 'i')
static dropdown ($items, $htmlOptions=array())
static dropdownToggleLink ($label, $htmlOptions=array())
static dropdownToggleButton ($label= '', $htmlOptions=array())
static dropdownToggle ($type, $label, $htmlOptions)
static dropdownToggleMenuLink ($label, $htmlOptions=array())
static buttonGroup ($buttons, $htmlOptions=array())
static buttonToolbar ($groups, $htmlOptions=array())
static buttonDropdown ($label, $items, $htmlOptions=array())
static splitButtonDropdown ($label, $items, $htmlOptions=array())
static tabs ($items, $htmlOptions=array())
static stackedTabs ($items, $htmlOptions=array())
static pills ($items, $htmlOptions=array())
static stackedPills ($items, $htmlOptions=array())
static navList ($items, $htmlOptions=array())
static nav ($type, $items, $htmlOptions=array())
static menu ($items, $htmlOptions=array())
static menuLink ($label, $url, $htmlOptions=array())
static menuDropdown ($label, $items, $htmlOptions)
static menuHeader ($label, $htmlOptions=array())
static menuDivider ($htmlOptions=array())
static tabbable ($tabs, $htmlOptions=array())
static navbar ($content, $htmlOptions=array())
static navbarBrandLink ($label, $url, $htmlOptions=array())
static navbarText ($text, $htmlOptions=array(), $tag= 'p')
static navbarMenuDivider ($htmlOptions=array())
static breadcrumbs ($links, $htmlOptions=array())
static pagination ($links, $htmlOptions=array())
static paginationLink ($label, $url, $htmlOptions=array())
static pager ($links, $htmlOptions=array())
static pagerLink ($label, $url, $htmlOptions=array())
static labelTb ($label, $htmlOptions=array())
static badge ($label, $htmlOptions=array())
static heroUnit ($heading, $content, $htmlOptions=array())
static pageHeader ($heading, $subtext, $htmlOptions=array())
static thumbnails ($thumbnails, $htmlOptions=array())
static thumbnail ($content, $htmlOptions=array())
static thumbnailLink ($content, $url, $htmlOptions=array())
static alert ($color, $message, $htmlOptions=array())
static blockAlert ($color, $message, $htmlOptions=array())
static progressBar ($width=0, $htmlOptions=array())
static stripedProgressBar ($width=0, $htmlOptions=array())
static animatedProgressBar ($width=0, $htmlOptions=array())
static stackedProgressBar ($bars, $htmlOptions=array())
static bar ($width=0, $htmlOptions=array())
static mediaObjects ($mediaObjects)
static mediaObject ($image, $heading, $content, $htmlOptions=array())
static well ($content, $htmlOptions=array())
static closeLink ($label=self::CLOSE_TEXT, $htmlOptions=array())
static closeButton ($label=self::CLOSE_TEXT, $htmlOptions=array())
static closeIcon ($tag, $label, $htmlOptions=array())
static collapseLink ($label, $target, $htmlOptions=array())
static collapseIcon ($target, $htmlOptions=array())
static tooltip ($label, $url, $content, $htmlOptions=array())
static popover ($label, $title, $content, $htmlOptions=array())
static carousel ($items, $htmlOptions=array())
static carouselItem ($content, $label, $caption, $htmlOptions=array())
static carouselPrevLink ($label, $url, $htmlOptions=array())
static carouselNextLink ($label, $url, $htmlOptions=array())
static carouselIndicators ($target, $numSlides, $htmlOptions=array())
static addClassName ($className, $htmlOptions)
static addStyles ($styles, $htmlOptions)
static copyOptions ($names, $fromOptions, $options)
static moveOptions ($names, $fromOptions, $options)
static defaultOptions ($options, $defaults)
static mergeOptions ($a, $b)
static getOption ($name, $options, $defaultValue=null)
static popOption ($name, &$options, $defaultValue=null)
static defaultOption ($name, $value, $options)
static removeOptions ($options, $names)

Public Attributes

const TEXT_ALIGN_LEFT = 'left'
const TEXT_ALIGN_CENTER = 'center'
const TEXT_ALIGN_RIGHT = 'right'
const TEXT_COLOR_DEFAULT = ''
const TEXT_COLOR_WARNING = 'warning'
const TEXT_COLOR_ERROR = 'error'
const TEXT_COLOR_INFO = 'info'
const TEXT_COLOR_SUCCESS = 'success'
const HELP_TYPE_INLINE = 'inline'
const HELP_TYPE_BLOCK = 'block'
const FORM_LAYOUT_VERTICAL = 'vertical'
const FORM_LAYOUT_HORIZONTAL = 'horizontal'
const FORM_LAYOUT_INLINE = 'inline'
const FORM_LAYOUT_SEARCH = 'search'
const INPUT_TYPE_TEXT = 'textField'
const INPUT_TYPE_PASSWORD = 'passwordField'
const INPUT_TYPE_URL = 'urlField'
const INPUT_TYPE_EMAIL = 'emailField'
const INPUT_TYPE_NUMBER = 'numberField'
const INPUT_TYPE_RANGE = 'rangeField'
const INPUT_TYPE_DATE = 'dateField'
const INPUT_TYPE_TEXTAREA = 'textArea'
const INPUT_TYPE_FILE = 'fileField'
const INPUT_TYPE_RADIOBUTTON = 'radioButton'
const INPUT_TYPE_CHECKBOX = 'checkBox'
const INPUT_TYPE_DROPDOWNLIST = 'dropDownList'
const INPUT_TYPE_LISTBOX = 'listBox'
const INPUT_TYPE_CHECKBOXLIST = 'checkBoxList'
const INPUT_TYPE_INLINECHECKBOXLIST = 'inlineCheckBoxList'
const INPUT_TYPE_RADIOBUTTONLIST = 'radioButtonList'
const INPUT_TYPE_INLINERADIOBUTTONLIST = 'inlineRadioButtonList'
const INPUT_TYPE_UNEDITABLE = 'uneditableField'
const INPUT_TYPE_SEARCH = 'searchQuery'
const INPUT_SIZE_MINI = 'mini'
const INPUT_SIZE_SMALL = 'small'
const INPUT_SIZE_DEFAULT = ''
const INPUT_SIZE_MEDIUM = 'medium'
const INPUT_SIZE_LARGE = 'large'
const INPUT_SIZE_XLARGE = 'xlarge'
const INPUT_SIZE_XXLARGE = 'xxlarge'
const INPUT_COLOR_DEFAULT = ''
const INPUT_COLOR_WARNING = 'warning'
const INPUT_COLOR_ERROR = 'error'
const INPUT_COLOR_INFO = 'info'
const INPUT_COLOR_SUCCESS = 'success'
const BUTTON_TYPE_LINK = 'link'
const BUTTON_TYPE_HTML = 'htmlButton'
const BUTTON_TYPE_SUBMIT = 'submitButton'
const BUTTON_TYPE_RESET = 'resetButton'
const BUTTON_TYPE_IMAGE = 'imageButton'
const BUTTON_TYPE_LINKBUTTON = 'linkButton'
const BUTTON_TYPE_AJAXLINK = 'ajaxLink'
const BUTTON_TYPE_AJAXBUTTON = 'ajaxButton'
const BUTTON_TYPE_INPUTBUTTON = 'inputButton'
const BUTTON_TYPE_INPUTSUBMIT = 'inputSubmit'
const BUTTON_COLOR_DEFAULT = ''
const BUTTON_COLOR_PRIMARY = 'primary'
const BUTTON_COLOR_INFO = 'info'
const BUTTON_COLOR_SUCCESS = 'success'
const BUTTON_COLOR_WARNING = 'warning'
const BUTTON_COLOR_DANGER = 'danger'
const BUTTON_COLOR_INVERSE = 'inverse'
const BUTTON_COLOR_LINK = 'link'
const BUTTON_SIZE_MINI = 'mini'
const BUTTON_SIZE_SMALL = 'small'
const BUTTON_SIZE_DEFAULT = ''
const BUTTON_SIZE_LARGE = 'large'
const BUTTON_TOGGLE_CHECKBOX = 'checkbox'
const BUTTON_TOGGLE_RADIO = 'radio'
const IMAGE_TYPE_ROUNDED = 'rounded'
const IMAGE_TYPE_CIRCLE = 'circle'
const IMAGE_TYPE_POLAROID = 'polaroid'
const NAV_TYPE_NONE = ''
const NAV_TYPE_TABS = 'tabs'
const NAV_TYPE_PILLS = 'pills'
const NAV_TYPE_LIST = 'list'
const TABS_PLACEMENT_ABOVE = ''
const TABS_PLACEMENT_BELOW = 'below'
const TABS_PLACEMENT_LEFT = 'left'
const TABS_PLACEMENT_RIGHT = 'right'
const NAVBAR_DISPLAY_NONE = ''
const NAVBAR_DISPLAY_FIXEDTOP = 'fixed-top'
const NAVBAR_DISPLAY_FIXEDBOTTOM = 'fixed-bottom'
const NAVBAR_DISPLAY_STATICTOP = 'static-top'
const NAVBAR_COLOR_INVERSE = 'inverse'
const PAGINATION_SIZE_MINI = 'mini'
const PAGINATION_SIZE_SMALL = 'small'
const PAGINATION_SIZE_DEFAULT = ''
const PAGINATION_SIZE_LARGE = 'large'
const PAGINATION_ALIGN_LEFT = 'left'
const PAGINATION_ALIGN_CENTER = 'centered'
const PAGINATION_ALIGN_RIGHT = 'right'
const LABEL_COLOR_DEFAULT = ''
const LABEL_COLOR_SUCCESS = 'success'
const LABEL_COLOR_WARNING = 'warning'
const LABEL_COLOR_IMPORTANT = 'important'
const LABEL_COLOR_INFO = 'info'
const LABEL_COLOR_INVERSE = 'inverse'
const BADGE_COLOR_DEFAULT = ''
const BADGE_COLOR_SUCCESS = 'success'
const BADGE_COLOR_WARNING = 'warning'
const BADGE_COLOR_IMPORTANT = 'important'
const BADGE_COLOR_INFO = 'info'
const BADGE_COLOR_INVERSE = 'inverse'
const TOOLTIP_PLACEMENT_TOP = 'top'
const TOOLTIP_PLACEMENT_BOTTOM = 'bottom'
const TOOLTIP_PLACEMENT_LEFT = 'left'
const TOOLTIP_PLACEMENT_RIGHT = 'right'
const TOOLTIP_TRIGGER_CLICK = 'click'
const TOOLTIP_TRIGGER_HOVER = 'hover'
const TOOLTIP_TRIGGER_FOCUS = 'focus'
const TOOLTIP_TRIGGER_MANUAL = 'manual'
const POPOVER_PLACEMENT_TOP = 'top'
const POPOVER_PLACEMENT_BOTTOM = 'bottom'
const POPOVER_PLACEMENT_LEFT = 'left'
const POPOVER_PLACEMENT_RIGHT = 'right'
const POPOVER_TRIGGER_CLICK = 'click'
const POPOVER_TRIGGER_HOVER = 'hover'
const POPOVER_TRIGGER_FOCUS = 'focus'
const POPOVER_TRIGGER_MANUAL = 'manual'
const ALERT_COLOR_DEFAULT = ''
const ALERT_COLOR_INFO = 'info'
const ALERT_COLOR_SUCCESS = 'success'
const ALERT_COLOR_WARNING = 'warning'
const ALERT_COLOR_ERROR = 'error'
const ALERT_COLOR_DANGER = 'danger'
const PROGRESS_COLOR_DEFAULT = ''
const PROGRESS_COLOR_INFO = 'info'
const PROGRESS_COLOR_SUCCESS = 'success'
const PROGRESS_COLOR_WARNING = 'warning'
const PROGRESS_COLOR_DANGER = 'danger'
const WELL_SIZE_SMALL = 'small'
const WELL_SIZE_DEFAULT = ''
const WELL_SIZE_LARGE = 'large'
const PULL_LEFT = 'left'
const PULL_RIGHT = 'right'
const GRID_TYPE_STRIPED = 'striped'
const GRID_TYPE_BORDERED = 'bordered'
const GRID_TYPE_CONDENSED = 'condensed'
const GRID_TYPE_HOVER = 'hover'
const AFFIX_POSITION_TOP = 'top'
const AFFIX_POSITION_BOTTOM = 'bottom'
const ICON_GLASS = 'icon-glass'
const ICON_MUSIC = 'icon-music'
const ICON_SEARCH = 'icon-search'
const ICON_ENVELOPE = 'icon-envelope'
const ICON_HEART = 'icon-heart'
const ICON_STAR = 'icon-star'
const ICON_STAR_EMPTY = 'icon-star-empty'
const ICON_USER = 'icon-user'
const ICON_FILM = 'icon-film'
const ICON_TH_LARGE = 'icon-th-large'
const ICON_TH = 'icon-th'
const ICON_TH_LIST = 'icon-th-list'
const ICON_OK = 'icon-ok'
const ICON_REMOVE = 'icon-remove'
const ICON_ZOOM_IN = 'icon-zoom-in'
const ICON_ZOOM_OUT = 'icon-zoom-out'
const ICON_OFF = 'icon-off'
const ICON_SIGNAL = 'icon-signal'
const ICON_COG = 'icon-cog'
const ICON_TRASH = 'icon-trash'
const ICON_HOME = 'icon-home'
const ICON_FILE = 'icon-file'
const ICON_TIME = 'icon-time'
const ICON_ROAD = 'icon-road'
const ICON_DOWNLOAD_ALT = 'icon-download-alt'
const ICON_DOWNLOAD = 'icon-download'
const ICON_UPLOAD = 'icon-upload'
const ICON_INBOX = 'icon-inbox'
const ICON_PLAY_CIRCLE = 'icon-play-circle'
const ICON_REPEAT = 'icon-repeat'
const ICON_REFRESH = 'icon-refresh'
const ICON_LIST_ALT = 'icon-list-alt'
const ICON_LOCK = 'icon-lock'
const ICON_FLAG = 'icon-flag'
const ICON_HEADPHONES = 'icon-headphones'
const ICON_VOLUME_OFF = 'icon-volume-off'
const ICON_VOLUME_DOWN = 'icon-volume-down'
const ICON_VOLUME_UP = 'icon-volume-up'
const ICON_QRCODE = 'icon-qrcode'
const ICON_BARCODE = 'icon-barcode'
const ICON_TAG = 'icon-tag'
const ICON_TAGS = 'icon-tags'
const ICON_BOOK = 'icon-book'
const ICON_BOOKMARK = 'icon-bookmark'
const ICON_PRINT = 'icon-print'
const ICON_CAMERA = 'icon-camera'
const ICON_FONT = 'icon-font'
const ICON_BOLD = 'icon-bold'
const ICON_ITALIC = 'icon-italic'
const ICON_TEXT_HEIGHT = 'icon-text-height'
const ICON_TEXT_WIDTH = 'icon-text-width'
const ICON_ALIGN_LEFT = 'icon-align-left'
const ICON_ALIGN_CENTER = 'icon-align-center'
const ICON_ALIGN_RIGHT = 'icon-align-right'
const ICON_ALIGN_JUSTIFY = 'icon-align-justify'
const ICON_LIST = 'icon-list'
const ICON_INDENT_LEFT = 'icon-indent-left'
const ICON_INDENT_RIGHT = 'icon-indent-right'
const ICON_FACETIME_VIDEO = 'icon-facetime-video'
const ICON_PICTURE = 'icon-picture'
const ICON_PENCIL = 'icon-pencil'
const ICON_MAP_MARKER = 'icon-map-marker'
const ICON_ADJUST = 'icon-adjust'
const ICON_TINT = 'icon-tint'
const ICON_EDIT = 'icon-edit'
const ICON_SHARE = 'icon-share'
const ICON_CHECK = 'icon-check'
const ICON_MOVE = 'icon-move'
const ICON_STEP_BACKWARD = 'icon-step-backward'
const ICON_FAST_BACKWARD = 'icon-fast-backward'
const ICON_BACKWARD = 'icon-backward'
const ICON_PLAY = 'icon-play'
const ICON_PAUSE = 'icon-pause'
const ICON_STOP = 'icon-pause'
const ICON_FORWARD = 'icon-forward'
const ICON_FAST_FORWARD = 'icon-fast-forward'
const ICON_STEP_FORWARD = 'icon-step-forward'
const ICON_EJECT = 'icon-eject'
const ICON_CHEVRON_LEFT = 'icon-chevron-left'
const ICON_CHEVRON_RIGHT = 'icon-chevron-right'
const ICON_PLUS_SIGN = 'icon-plus-sign'
const ICON_MINUS_SIGN = 'icon-minus-sign'
const ICON_REMOVE_SIGN = 'icon-remove-sign'
const ICON_OK_SIGN = 'icon-ok-sign'
const ICON_QUESTION_SIGN = 'icon-question-sign'
const ICON_INFO_SIGN = 'icon-info-sign'
const ICON_SCREENSHOT = 'icon-screenshot'
const ICON_REMOVE_CIRCLE = 'icon-remove-circle'
const ICON_OK_CIRCLE = 'icon-ok-circle'
const ICON_BAN_CIRCLE = 'icon-ban-circle'
const ICON_ARROW_LEFT = 'icon-arrow-left'
const ICON_ARROW_RIGHT = 'icon-arrow-right'
const ICON_ARROW_UP = 'icon-arrow-up'
const ICON_ARROW_DOWN = 'icon-arrow-down'
const ICON_SHARE_ALT = 'icon-share-alt'
const ICON_RESIZE_FULL = 'icon-resize-full'
const ICON_RESIZE_SMALL = 'icon-resize-small'
const ICON_PLUS = 'icon-plus'
const ICON_MINUS = 'icon-minus'
const ICON_ASTERISK = 'icon-asterisk'
const ICON_EXCLAMATION_SIGN = 'icon-exclamation-sign'
const ICON_GIFT = 'icon-gift'
const ICON_LEAF = 'icon-leaf'
const ICON_FIRE = 'icon-fire'
const ICON_EYE_OPEN = 'icon-eye-open'
const ICON_EYE_CLOSE = 'icon-eye-close'
const ICON_WARNING_SIGN = 'icon-warning-sign'
const ICON_PLANE = 'icon-plane'
const ICON_CALENDAR = 'icon-calendar'
const ICON_RANDOM = 'icon-random'
const ICON_COMMENT = 'icon-comment'
const ICON_MAGNET = 'icon-magnet'
const ICON_CHEVRON_UP = 'icon-chevron-up'
const ICON_CHEVRON_DOWN = 'icon-chevron-down'
const ICON_RETWEET = 'icon-retweet'
const ICON_SHOPPING_CART = 'icon-shopping-cart'
const ICON_FOLDER_CLOSE = 'icon-folder-close'
const ICON_FOLDER_OPEN = 'icon-folder-open'
const ICON_RESIZE_VERTICAL = 'icon-resize-vertical'
const ICON_RESIZE_HORIZONTAL = 'icon-resize-horizontal'
const ICON_HDD = 'icon-hdd'
const ICON_BULLHORN = 'icon-bullhorn'
const ICON_BELL = 'icon-bell'
const ICON_CERTFICATE = 'icon-certificate'
const ICON_THUMBS_UP = 'icon-thumbs-up'
const ICON_THUMBS_DOWN = 'icon-thumbs-down'
const ICON_HAND_RIGHT = 'icon-hand-right'
const ICON_HAND_LEFT = 'icon-hand-left'
const ICON_HAND_UP = 'icon-hand-up'
const ICON_HAND_DOWN = 'icon-hand-down'
const ICON_CIRCLE_ARROW_RIGHT = 'icon-circle-arrow-right'
const ICON_CIRCLE_ARROW_LEFT = 'icon-circle-arrow-left'
const ICON_CIRCLE_ARROW_UP = 'icon-circle-arrow-up'
const ICON_CIRCLE_ARROW_DOWN = 'icon-circle-arrow-down'
const ICON_GLOBE = 'icon-globe'
const ICON_WRENCH = 'icon-wrench'
const ICON_TASKS = 'icon-tasks'
const ICON_FILTER = 'icon-filter'
const ICON_BRIEFCASE = 'icon-briefcase'
const ICON_FULLSCREEN = 'icon-fullscreen'
const CLOSE_TEXT = '×'

Static Protected Member Functions

static createInput ($type, $name, $value, $htmlOptions=array(), $data=array())
static textInputField ($type, $name, $value, $htmlOptions)
static createActiveInput ($type, $model, $attribute, $htmlOptions=array(), $data=array())
static activeTextInputField ($type, $model, $attribute, $htmlOptions)
static getAddOnClasses ($htmlOptions)
static inputAddOn ($addOn, $htmlOptions)
static inputHelp ($help, $htmlOptions)
static normalizeInputOptions ($options)
static btnDropdown ($type, $label, $items, $htmlOptions)
static createButton ($type, $label, $htmlOptions)
static tooltipPopover ($label, $url, $title, $htmlOptions)
static addSpanClass (&$htmlOptions)

Detailed Description

Bootstrap HTML helper.

Definition at line 14 of file TbHtml.php.

Member Function Documentation

static TbHtml::abbr (   $text,
  $word,
  $htmlOptions = array() 
)
static

Generates an abbreviation with a help text.

Parameters
string$textthe abbreviation.
string$wordthe word the abbreviation is for.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated abbreviation.

Definition at line 495 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeCheckBox (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a check box for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated check box.

Definition at line 1543 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeCheckBoxControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a check box for a model attribute.

Parameters
string$namethe input name.
string$checkedwhether the check box is checked.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1814 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeCheckBoxList (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates a check box list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$data$data value-label pairs used to generate the check box list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 1622 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeCheckBoxListControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a check box list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1884 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeControlGroup (   $type,
  $model,
  $attribute,
  $htmlOptions = array(),
  $data = array() 
)
static

Generates an active form row.

Parameters
string$typethe input type.
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
array$datadata for multiple select inputs.
Returns
string the generated control group.

Definition at line 1938 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeDateField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a date field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1502 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeDateFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with a date field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1762 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeDropDownList (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates a drop down list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
Returns
string the generated drop down list.

Definition at line 1559 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeDropDownListControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a drop down list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1828 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeEmailField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates an email field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1463 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeEmailFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with a email field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1723 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeFileFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a file field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1788 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeInlineCheckBoxList (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates an inline check box list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$data$data value-label pairs used to generate the check box list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 1643 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeInlineCheckBoxListControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with an inline check box list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1898 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeInlineRadioButtonList (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates an inline radio button list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$data$data value-label pairs used to generate the radio button list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 1608 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeInlineRadioButtonListControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with an inline radio button list for a model attribute.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1870 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeListBox (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates a list box for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list box

Definition at line 1573 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeListBoxControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a list box for a model attribute.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1842 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeNumberField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a number field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1476 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeNumberFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a number field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1736 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activePasswordField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a password field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1437 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activePasswordFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a password field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1697 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeRadioButton (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a radio button for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated radio button.

Definition at line 1527 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeRadioButtonControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a radio button for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1801 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeRadioButtonList (   $model,
  $attribute,
  $data,
  $htmlOptions = array() 
)
static

Generates a radio button list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$data$data value-label pairs used to generate the radio button list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 1587 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeRadioButtonListControlGroup (   $model,
  $attribute,
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a radio button list for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1856 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeRangeField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a range field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1489 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeRangeFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with a range field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1749 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeSearchField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a search query input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input.

Definition at line 1670 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeSearchFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a search field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1924 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeTextArea (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a text area input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated text area.

Definition at line 1514 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeTextAreaControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a text area for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1775 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeTextField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a text field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1424 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeTextFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a text field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1684 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeTextInputField (   $type,
  $model,
  $attribute,
  $htmlOptions 
)
staticprotected

Generates an input HTML tag for a model attribute. This method generates an input HTML tag based on the given input name and value.

Parameters
string$typethe input type.
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input tag.

Definition at line 2069 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeUneditableField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates an uneditable input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input.

Definition at line 1656 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeUneditableFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a uneditable field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1911 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::activeUrlField (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates an url field input for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::activeTextInputField

Definition at line 1450 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::activeUrlFieldControlGroup (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Generates a control group with a url field for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::activeControlGroup

Definition at line 1710 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::addClassName (   $className,
  $htmlOptions 
)
static

Appends new class names to the named index "class" at the $htmlOptions parameter.

Parameters
mixed$classNamethe class(es) to append to $htmlOptions
array$htmlOptionsthe HTML tag attributes to modify
Returns
array the options.

Definition at line 3926 of file TbHtml.php.

static TbHtml::address (   $text,
  $htmlOptions = array() 
)
static

Generates an address block.

Parameters
string$quotethe address text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated block.

Definition at line 522 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::addSpanClass ( $htmlOptions)
staticprotected

Adds the grid span class to the given options is applicable.

Parameters
array$htmlOptionsthe HTML attributes.
Returns
boolean whether the span class was added.

Definition at line 4074 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::addStyles (   $styles,
  $htmlOptions 
)
static

Appends a CSS style string to the given options.

Parameters
string$stylesthe CSS style string.
array$htmlOptionsthe options.
Returns
array the options.

Definition at line 3940 of file TbHtml.php.

Here is the caller graph for this function:

static TbHtml::ajaxButton (   $label,
  $url,
  $ajaxOptions = array(),
  $htmlOptions = array() 
)
static

Generates a push button that can initiate AJAX requests.

Parameters
string$labelthe button label.
mixed$urlthe URL for the AJAX request.
array$ajaxOptionsAJAX options.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2368 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::ajaxLink (   $text,
  $url,
  $ajaxOptions = array(),
  $htmlOptions = array() 
)
static

Generates a link that can initiate AJAX requests.

Parameters
string$textthe link body (it will NOT be HTML-encoded.)
mixed$urlthe URL for the AJAX request.
array$ajaxOptionsAJAX options.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 2353 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::ajaxSubmitButton (   $label,
  $url,
  $ajaxOptions = array(),
  $htmlOptions = array() 
)
static

Generates a push button that can submit the current form in POST method.

Parameters
string$labelthe button label
mixed$urlthe URL for the AJAX request.
array$ajaxOptionsAJAX options.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2383 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::alert (   $color,
  $message,
  $htmlOptions = array() 
)
static

Generates an alert.

Parameters
string$colorthe color of the alert.
string$messagethe message to display.
array$htmlOptionsadditional HTML options.
Returns
string the generated alert.

Definition at line 3412 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::animatedProgressBar (   $width = 0,
  $htmlOptions = array() 
)
static

Generates an animated progress bar.

Parameters
integer$widththe progress in percent.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated progress bar.

Definition at line 3496 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::b (   $text,
  $htmlOptions = array() 
)
static

Generates bold text.

Parameters
string$textthe text to style.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated text.

Definition at line 429 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::badge (   $label,
  $htmlOptions = array() 
)
static

Generates a badge span.

Parameters
string$labelthe badge text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated span.

Definition at line 3261 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::bar (   $width = 0,
  $htmlOptions = array() 
)
static

Generates a progress bar.

Parameters
integer$widththe progress in percent.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated bar.

Definition at line 3535 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::beginFormTb (   $layout = self::FORM_LAYOUT_VERTICAL,
  $action = '',
  $method = 'post',
  $htmlOptions = array() 
)
static

Generates an open form tag.

Parameters
string$layoutthe form layout.
string$actionthe form action URL.
string$methodform method (e.g. post, get).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated tag.

Definition at line 658 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::blockAlert (   $color,
  $message,
  $htmlOptions = array() 
)
static

Generates an alert block.

Parameters
string$colorthe color of the alert.
string$messagethe message to display.
array$htmlOptionsadditional HTML options.
Returns
string the generated alert.

Definition at line 3440 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::breadcrumbs (   $links,
  $htmlOptions = array() 
)
static

Generates a breadcrumb menu.

Parameters
array$linksthe breadcrumb links.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated breadcrumb.

Definition at line 3098 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::btn (   $type,
  $label,
  $htmlOptions = array() 
)
static

Generates a button.

Parameters
string$typethe button type.
string$labelthe button label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2397 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::btnDropdown (   $type,
  $label,
  $items,
  $htmlOptions 
)
staticprotected

Generates a button dropdown. $type the button type.

Parameters
string$labelthe button label text.
array$itemsthe menu items.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2435 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::button (   $label = 'Button',
  $htmlOptions = array() 
)
static

Generates an button.

Parameters
string$labelthe button label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2284 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::buttonDropdown (   $label,
  $items,
  $htmlOptions = array() 
)
static

Generates a button with a dropdown menu.

Parameters
string$labelthe button label text.
array$itemsthe menu items.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2758 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::buttonGroup (   $buttons,
  $htmlOptions = array() 
)
static

Generates a button group.

Parameters
array$buttonsthe button configurations.
array$htmlOptionsadditional HTML options.
Returns
string the generated button group.

Definition at line 2676 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::buttonToolbar (   $groups,
  $htmlOptions = array() 
)
static

Generates a button toolbar.

Parameters
array$groupsthe button group configurations.
array$htmlOptionsadditional HTML options.
Returns
string the generated button toolbar.

Definition at line 2718 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::carousel (   $items,
  $htmlOptions = array() 
)
static

Generates an image carousel.

Parameters
array$itemsthe item configurations.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated carousel.

Definition at line 3781 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::carouselIndicators (   $target,
  $numSlides,
  $htmlOptions = array() 
)
static

Generates an indicator for the carousel.

Parameters
string$targetthe CSS selector for the target element.
integer$numSlidesthe number of slides.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated indicators.

Definition at line 3901 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::carouselItem (   $content,
  $label,
  $caption,
  $htmlOptions = array() 
)
static

Generates a carousel item.

Parameters
string$contentthe content.
string$labelthe item label text.
string$captionthe item caption text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated item.

Definition at line 3844 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::carouselNextLink (   $label,
  $url,
  $htmlOptions = array() 
)
static

Generates a next link for the carousel.

Parameters
string$labelthe link label text.
mixed$urlthe link url.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 3887 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::carouselPrevLink (   $label,
  $url,
  $htmlOptions = array() 
)
static

Generates a previous link for the carousel.

Parameters
string$labelthe link label text.
mixed$urlthe link url.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 3873 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::checkBox (   $name,
  $checked = false,
  $htmlOptions = array() 
)
static

Generates a check box.

Parameters
string$namethe input name.
boolean$checkedwhether the check box is checked.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated check box.

Definition at line 804 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::checkBoxControlGroup (   $name,
  $checked = false,
  $htmlOptions = array() 
)
static

Generates a control group with a check box.

Parameters
string$namethe input name.
string$checkedwhether the check box is checked.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1163 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::checkBoxList (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static

Generates a check box list.

Parameters
string$namename of the check box list.
mixed$selectselection of the check boxes.
array$data$data value-label pairs used to generate the check box list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 913 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::checkBoxListControlGroup (   $name,
  $select = '',
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a check box list.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1233 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::closeButton (   $label = self::CLOSE_TEXT,
  $htmlOptions = array() 
)
static

Generates a close button.

Parameters
string$labelthe button label text.
array$htmlOptionsthe HTML options for the button.
Returns
string the generated button.

Definition at line 3653 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::closeIcon (   $tag,
  $label,
  $htmlOptions = array() 
)
static

Generates a close element.

Parameters
string$labelthe element label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated element.

Definition at line 3664 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::closeLink (   $label = self::CLOSE_TEXT,
  $htmlOptions = array() 
)
static

Generates a close link.

Parameters
string$labelthe link label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 3641 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::code (   $code,
  $htmlOptions = array() 
)
static

Generates inline code.

Parameters
string$codethe code.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated code.

Definition at line 580 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::codeBlock (   $code,
  $htmlOptions = array() 
)
static

Generates a code block.

Parameters
string$codethe code.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated block.

Definition at line 591 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::collapseIcon (   $target,
  $htmlOptions = array() 
)
static

Generates a collapse icon.

Parameters
string$targetthe CSS selector for the target element.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated icon.

Definition at line 3690 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::collapseLink (   $label,
  $target,
  $htmlOptions = array() 
)
static

Generates a collapse link.

Parameters
string$labelthe link label.
string$targetthe CSS selector.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 3678 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::controlGroup (   $type,
  $name,
  $value,
  $htmlOptions = array(),
  $data = array() 
)
static

Generates a form control group.

Parameters
string$typethe input type.
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
array$datadata for multiple select inputs.
Returns
string the generated control group.

Definition at line 1286 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::controls (   $controls,
  $htmlOptions = array() 
)
static

Generates form controls.

Parameters
mixed$controlsthe controls.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated controls.

Definition at line 2166 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::controlsRow (   $controls,
  $htmlOptions = array() 
)
static

Generates form controls row.

Parameters
mixed$controlsthe controls.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated controls.

Definition at line 2189 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::copyOptions (   $names,
  $fromOptions,
  $options 
)
static

Copies the option values from one option array to another.

Parameters
array$namesthe option names to copy.
array$fromOptionsthe options to copy from.
array$optionsthe options to copy to.
Returns
array the options.

Definition at line 3953 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::createActiveInput (   $type,
  $model,
  $attribute,
  $htmlOptions = array(),
  $data = array() 
)
staticprotected

Creates an active form input of the given type.

Parameters
string$typethe input type.
CModel$modelthe model instance.
string$attributethe attribute name.
array$htmlOptionsadditional HTML attributes.
array$datadata for multiple select inputs.
Returns
string the input.
Exceptions
CExceptionif the input type is invalid.

Definition at line 1984 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::createButton (   $type,
  $label,
  $htmlOptions 
)
staticprotected

Creates a button the of given type.

Parameters
string$typethe button type.
string$labelthe button label.
array$htmlOptionsadditional HTML attributes.
Returns
string the button.

Definition at line 2463 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::createInput (   $type,
  $name,
  $value,
  $htmlOptions = array(),
  $data = array() 
)
staticprotected

Creates a form input of the given type.

Parameters
string$typethe input type.
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
array$datadata for multiple select inputs.
Returns
string the input.
Exceptions
CExceptionif the input type is invalid.

Definition at line 1331 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dateField (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a date field input.

Parameters
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::textInputField

Definition at line 763 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dateFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with a date field.

Parameters
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1111 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::defaultOption (   $name,
  $value,
  $options 
)
static

Sets the default value for an item in the given options.

Parameters
string$namethe name of the item.
mixed$valuethe default value.
array$optionsthe options.
Returns
mixed

Definition at line 4051 of file TbHtml.php.

Here is the caller graph for this function:

static TbHtml::defaultOptions (   $options,
  $defaults 
)
static

Sets multiple default options for the given options array.

Parameters
array$optionsthe options to set defaults for.
array$defaultsthe default options.
Returns
array the options with default values.

Definition at line 3992 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropdown (   $items,
  $htmlOptions = array() 
)
static

Generates a dropdown menu.

Parameters
array$itemsthe menu items.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated menu.

Definition at line 2605 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropDownList (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static

Generates a drop down list.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
Returns
string the generated drop down list.

Definition at line 820 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropDownListControlGroup (   $name,
  $select = '',
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with a drop down list.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1177 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::dropdownToggle (   $type,
  $label,
  $htmlOptions 
)
static

Generates a dropdown toggle element.

Parameters
string$tagthe HTML tag.
string$labelthe element text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated element.

Definition at line 2644 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropdownToggleButton (   $label = '',
  $htmlOptions = array() 
)
static

Generates a dropdown toggle button.

Parameters
string$labelthe button label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2632 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropdownToggleLink (   $label,
  $htmlOptions = array() 
)
static

Generates a dropdown toggle link.

Parameters
string$labelthe link label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated link.

Definition at line 2621 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::dropdownToggleMenuLink (   $label,
  $htmlOptions = array() 
)
static

Generates a dropdown toggle menu item.

Parameters
string$labelthe menu item text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated menu item.

Definition at line 2658 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::em (   $text,
  $htmlOptions = array(),
  $tag = 'p' 
)
static

Generates an emphasized text.

Parameters
string$stylethe text style.
string$textthe text to emphasize.
array$htmlOptionsadditional HTML attributes.
string$tagthe HTML tag.
Returns
string the generated text.

Definition at line 453 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::emailField (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates an email field input.

Parameters
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated input field.
See Also
TbHtml::textInputField

Definition at line 724 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::emailFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with an email field.

Parameters
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1072 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::error (   $model,
  $attribute,
  $htmlOptions = array() 
)
static

Displays the first validation error for a model attribute.

Parameters
CModel$modelthe data model.
string$attributethe attribute name.
array$htmlOptionsadditional HTML attributes to be rendered in the container tag.
Returns
string the error display. Empty if no errors are found.

Definition at line 2053 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::errorSummary (   $model,
  $header = null,
  $footer = null,
  $htmlOptions = array() 
)
static

Displays a summary of validation errors for one or several models.

Parameters
mixed$modelthe models whose input errors are to be displayed.
string$headera piece of HTML code that appears in front of the errors.
string$footera piece of HTML code that appears at the end of the errors.
array$htmlOptionsadditional HTML attributes to be rendered in the container div tag.
Returns
string the error summary. Empty if no errors are found.

Definition at line 2039 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::fileFieldControlGroup (   $name,
  $value = '',
  $htmlOptions = array() 
)
static

Generates a control group with a file field.

Parameters
string$namethe input name.
string$valuethe input value.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1137 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::formActions (   $actions,
  $htmlOptions = array() 
)
static

Generates form actions.

Parameters
mixed$actionsthe actions.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated actions.

Definition at line 2201 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::formTb (   $layout = self::FORM_LAYOUT_VERTICAL,
  $action = '',
  $method = 'post',
  $htmlOptions = array() 
)
static

Generates a form tag.

Parameters
string$layoutthe form layout.
string$actionthe form action URL.
string$methodform method (e.g. post, get).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated tag.

Definition at line 645 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::getAddOnClasses (   $htmlOptions)
staticprotected

Returns the add-on classes based on the given options.

Parameters
array$htmlOptionsthe options.
Returns
string the classes.

Definition at line 2104 of file TbHtml.php.

Here is the caller graph for this function:

static TbHtml::getOption (   $name,
  $options,
  $defaultValue = null 
)
static

Returns an item from the given options or the default value if it's not set.

Parameters
string$namethe name of the item.
array$optionsthe options to get from.
mixed$defaultValuethe default value.
Returns
mixed the value.

Definition at line 4020 of file TbHtml.php.

Here is the caller graph for this function:

static TbHtml::help (   $text,
  $htmlOptions = array() 
)
static

Generates a help text.

Parameters
string$textthe help text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated text.

Definition at line 552 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::helpBlock (   $text,
  $htmlOptions = array() 
)
static

Generates a help block.

Parameters
string$textthe help text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated block.

Definition at line 564 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::heroUnit (   $heading,
  $content,
  $htmlOptions = array() 
)
static

Generates a hero unit.

Parameters
string$headingthe heading text.
string$contentthe content text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated hero unit.

Definition at line 3281 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::htmlButton (   $label = 'Button',
  $htmlOptions = array() 
)
static

Generates an image submit button.

Parameters
string$srcthe image URL
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2295 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::i (   $text,
  $htmlOptions = array() 
)
static

Generates italic text.

Parameters
string$textthe text to style.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated text.

Definition at line 440 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::icon (   $icon,
  $htmlOptions = array(),
  $tagName = 'i' 
)
static

Generates an icon.

Parameters
string$iconthe icon type.
array$htmlOptionsadditional HTML attributes.
string$tagNamethe icon HTML tag.
Returns
string the generated icon.

Definition at line 2579 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::image (   $src,
  $alt = '',
  $htmlOptions = array() 
)
static

Generates an image tag.

Parameters
string$srcthe image URL.
string$altthe alternative text display.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated image tag.

Definition at line 2560 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::imageButton (   $src,
  $htmlOptions = array() 
)
static

Generates an image submit button.

Parameters
string$srcthe image URL
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button.

Definition at line 2328 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::imageCircle (   $src,
  $alt = '',
  $htmlOptions = array() 
)
static

Generates an image tag with circle.

Parameters
string$srcthe image URL.
string$altthe alternative text display.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated image tag.

Definition at line 2534 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::imagePolaroid (   $src,
  $alt = '',
  $htmlOptions = array() 
)
static

Generates an image tag within polaroid frame.

Parameters
string$srcthe image URL.
string$altthe alternative text display.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated image tag.

Definition at line 2547 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::imageRounded (   $src,
  $alt = '',
  $htmlOptions = array() 
)
static

Generates an image tag with rounded corners.

Parameters
string$srcthe image URL.
string$altthe alternative text display.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated image tag.

Definition at line 2521 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::inlineCheckBoxList (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static

Generates an inline check box list.

Parameters
string$namename of the check box list.
mixed$selectselection of the check boxes.
array$data$data value-label pairs used to generate the check box list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 993 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::inlineCheckBoxListControlGroup (   $name,
  $select = '',
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with an inline check box list.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1247 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::inlineRadioButtonList (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static

Generates an inline radio button list.

Parameters
string$namename of the radio button list.
mixed$selectselection of the radio buttons.
array$data$data value-label pairs used to generate the radio button list.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list.

Definition at line 899 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::inlineRadioButtonListControlGroup (   $name,
  $select = '',
  $data = array(),
  $htmlOptions = array() 
)
static

Generates a control group with an inline radio button list.

Parameters
string$namethe input name.
string$selectthe selected value.
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated control group.
See Also
TbHtml::controlGroup

Definition at line 1219 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::inputAddOn (   $addOn,
  $htmlOptions 
)
staticprotected

Generates an add-on for an input field.

Parameters
string$addOnthe add-on.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated add-on.

Definition at line 2120 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::inputHelp (   $help,
  $htmlOptions 
)
staticprotected

Generates a help text for an input field.

Parameters
string$helpthe help text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated help text.

Definition at line 2135 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::labelTb (   $label,
  $htmlOptions = array() 
)
static

Generates a label span.

Parameters
string$labelthe label text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated span.

Definition at line 3246 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::lead (   $text,
  $htmlOptions = array() 
)
static

Generates a paragraph that stands out.

Parameters
string$textthe lead text.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated paragraph.

Definition at line 406 of file TbHtml.php.

Here is the call graph for this function:

static TbHtml::link (   $text,
  $url = '#',
  $htmlOptions = array() 
)
static

Generates a hyperlink tag.

Parameters
string$textlink body. It will NOT be HTML-encoded.
mixed$urla URL or an action route that can be used to create a URL.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated hyperlink

Definition at line 2271 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::linkButton (   $label = 'Submit',
  $htmlOptions = array() 
)
static

Generates a link submit button.

Parameters
string$labelthe button label.
array$htmlOptionsadditional HTML attributes.
Returns
string the generated button tag.

Definition at line 2340 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static TbHtml::listBox (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static

Generates a list box.

Parameters
string$namethe input name.
mixed$selectthe selected value(s).
array$datadata for generating the list options (value=>display).
array$htmlOptionsadditional HTML attributes.
Returns
string the generated list box

Definition at line 834 of file TbHtml.php.

Here is the call graph for this function:

Here is the caller graph for this function: