HCE Project DC service web UI
0.2
Hierarchical Cluster Engine DC service web UI
|
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) |
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) |
Bootstrap HTML helper.
Definition at line 14 of file TbHtml.php.
|
static |
Generates an abbreviation with a help text.
string | $text | the abbreviation. |
string | $word | the word the abbreviation is for. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 495 of file TbHtml.php.
|
static |
Generates a check box for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1543 of file TbHtml.php.
|
static |
Generates a control group with a check box for a model attribute.
string | $name | the input name. |
string | $checked | whether the check box is checked. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1814 of file TbHtml.php.
|
static |
Generates a check box list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | $data value-label pairs used to generate the check box list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1622 of file TbHtml.php.
|
static |
Generates a control group with a check box list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1884 of file TbHtml.php.
|
static |
Generates an active form row.
string | $type | the input type. |
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
array | $data | data for multiple select inputs. |
Definition at line 1938 of file TbHtml.php.
|
static |
Generates a date field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1502 of file TbHtml.php.
|
static |
Generates a control group with a date field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1762 of file TbHtml.php.
|
static |
Generates a drop down list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
Definition at line 1559 of file TbHtml.php.
|
static |
Generates a control group with a drop down list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1828 of file TbHtml.php.
|
static |
Generates an email field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1463 of file TbHtml.php.
|
static |
Generates a control group with a email field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1723 of file TbHtml.php.
|
static |
Generates a control group with a file field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1788 of file TbHtml.php.
|
static |
Generates an inline check box list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | $data value-label pairs used to generate the check box list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1643 of file TbHtml.php.
|
static |
Generates a control group with an inline check box list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1898 of file TbHtml.php.
|
static |
Generates an inline radio button list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | $data value-label pairs used to generate the radio button list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1608 of file TbHtml.php.
|
static |
Generates a control group with an inline radio button list for a model attribute.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1870 of file TbHtml.php.
|
static |
Generates a list box for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1573 of file TbHtml.php.
|
static |
Generates a control group with a list box for a model attribute.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1842 of file TbHtml.php.
|
static |
Generates a number field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1476 of file TbHtml.php.
|
static |
Generates a control group with a number field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1736 of file TbHtml.php.
|
static |
Generates a password field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1437 of file TbHtml.php.
|
static |
Generates a control group with a password field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1697 of file TbHtml.php.
|
static |
Generates a radio button for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1527 of file TbHtml.php.
|
static |
Generates a control group with a radio button for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1801 of file TbHtml.php.
|
static |
Generates a radio button list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | $data value-label pairs used to generate the radio button list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1587 of file TbHtml.php.
|
static |
Generates a control group with a radio button list for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1856 of file TbHtml.php.
|
static |
Generates a range field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1489 of file TbHtml.php.
|
static |
Generates a control group with a range field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1749 of file TbHtml.php.
|
static |
Generates a search query input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1670 of file TbHtml.php.
|
static |
Generates a control group with a search field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1924 of file TbHtml.php.
|
static |
Generates a text area input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1514 of file TbHtml.php.
|
static |
Generates a control group with a text area for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1775 of file TbHtml.php.
|
static |
Generates a text field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1424 of file TbHtml.php.
|
static |
Generates a control group with a text field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1684 of file TbHtml.php.
|
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.
string | $type | the input type. |
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2069 of file TbHtml.php.
|
static |
Generates an uneditable input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1656 of file TbHtml.php.
|
static |
Generates a control group with a uneditable field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1911 of file TbHtml.php.
|
static |
Generates an url field input for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1450 of file TbHtml.php.
|
static |
Generates a control group with a url field for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1710 of file TbHtml.php.
|
static |
Appends new class names to the named index "class" at the $htmlOptions
parameter.
mixed | $className | the class(es) to append to $htmlOptions |
array | $htmlOptions | the HTML tag attributes to modify |
Definition at line 3926 of file TbHtml.php.
|
static |
Generates an address block.
string | $quote | the address text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 522 of file TbHtml.php.
|
staticprotected |
Adds the grid span class to the given options is applicable.
array | $htmlOptions | the HTML attributes. |
Definition at line 4074 of file TbHtml.php.
|
static |
Appends a CSS style string to the given options.
string | $styles | the CSS style string. |
array | $htmlOptions | the options. |
Definition at line 3940 of file TbHtml.php.
|
static |
Generates a push button that can initiate AJAX requests.
string | $label | the button label. |
mixed | $url | the URL for the AJAX request. |
array | $ajaxOptions | AJAX options. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2368 of file TbHtml.php.
|
static |
Generates a link that can initiate AJAX requests.
string | $text | the link body (it will NOT be HTML-encoded.) |
mixed | $url | the URL for the AJAX request. |
array | $ajaxOptions | AJAX options. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2353 of file TbHtml.php.
|
static |
Generates a push button that can submit the current form in POST method.
string | $label | the button label |
mixed | $url | the URL for the AJAX request. |
array | $ajaxOptions | AJAX options. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2383 of file TbHtml.php.
|
static |
Generates an alert.
string | $color | the color of the alert. |
string | $message | the message to display. |
array | $htmlOptions | additional HTML options. |
Definition at line 3412 of file TbHtml.php.
|
static |
Generates an animated progress bar.
integer | $width | the progress in percent. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3496 of file TbHtml.php.
|
static |
Generates bold text.
string | $text | the text to style. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 429 of file TbHtml.php.
|
static |
Generates a badge span.
string | $label | the badge text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3261 of file TbHtml.php.
|
static |
Generates a progress bar.
integer | $width | the progress in percent. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3535 of file TbHtml.php.
|
static |
Generates an open form tag.
string | $layout | the form layout. |
string | $action | the form action URL. |
string | $method | form method (e.g. post, get). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 658 of file TbHtml.php.
|
static |
Generates an alert block.
string | $color | the color of the alert. |
string | $message | the message to display. |
array | $htmlOptions | additional HTML options. |
Definition at line 3440 of file TbHtml.php.
|
static |
Generates a breadcrumb menu.
array | $links | the breadcrumb links. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3098 of file TbHtml.php.
|
static |
Generates a button.
string | $type | the button type. |
string | $label | the button label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2397 of file TbHtml.php.
|
staticprotected |
Generates a button dropdown. $type the button type.
string | $label | the button label text. |
array | $items | the menu items. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2435 of file TbHtml.php.
|
static |
Generates an button.
string | $label | the button label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2284 of file TbHtml.php.
|
static |
Generates a button with a dropdown menu.
string | $label | the button label text. |
array | $items | the menu items. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2758 of file TbHtml.php.
|
static |
Generates a button group.
array | $buttons | the button configurations. |
array | $htmlOptions | additional HTML options. |
Definition at line 2676 of file TbHtml.php.
|
static |
Generates a button toolbar.
array | $groups | the button group configurations. |
array | $htmlOptions | additional HTML options. |
Definition at line 2718 of file TbHtml.php.
|
static |
Generates an image carousel.
array | $items | the item configurations. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3781 of file TbHtml.php.
|
static |
Generates an indicator for the carousel.
string | $target | the CSS selector for the target element. |
integer | $numSlides | the number of slides. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3901 of file TbHtml.php.
|
static |
Generates a carousel item.
string | $content | the content. |
string | $label | the item label text. |
string | $caption | the item caption text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3844 of file TbHtml.php.
|
static |
Generates a next link for the carousel.
string | $label | the link label text. |
mixed | $url | the link url. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3887 of file TbHtml.php.
|
static |
Generates a previous link for the carousel.
string | $label | the link label text. |
mixed | $url | the link url. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3873 of file TbHtml.php.
|
static |
Generates a check box.
string | $name | the input name. |
boolean | $checked | whether the check box is checked. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 804 of file TbHtml.php.
|
static |
Generates a control group with a check box.
string | $name | the input name. |
string | $checked | whether the check box is checked. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1163 of file TbHtml.php.
|
static |
Generates a check box list.
string | $name | name of the check box list. |
mixed | $select | selection of the check boxes. |
array | $data | $data value-label pairs used to generate the check box list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 913 of file TbHtml.php.
|
static |
Generates a control group with a check box list.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1233 of file TbHtml.php.
|
static |
Generates a close button.
string | $label | the button label text. |
array | $htmlOptions | the HTML options for the button. |
Definition at line 3653 of file TbHtml.php.
|
static |
Generates a close element.
string | $label | the element label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3664 of file TbHtml.php.
|
static |
Generates a close link.
string | $label | the link label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3641 of file TbHtml.php.
|
static |
Generates inline code.
string | $code | the code. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 580 of file TbHtml.php.
|
static |
Generates a code block.
string | $code | the code. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 591 of file TbHtml.php.
|
static |
Generates a collapse icon.
string | $target | the CSS selector for the target element. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3690 of file TbHtml.php.
|
static |
Generates a collapse link.
string | $label | the link label. |
string | $target | the CSS selector. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3678 of file TbHtml.php.
|
static |
Generates a form control group.
string | $type | the input type. |
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
array | $data | data for multiple select inputs. |
Definition at line 1286 of file TbHtml.php.
|
static |
Generates form controls.
mixed | $controls | the controls. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2166 of file TbHtml.php.
|
static |
Generates form controls row.
mixed | $controls | the controls. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2189 of file TbHtml.php.
|
static |
Copies the option values from one option array to another.
array | $names | the option names to copy. |
array | $fromOptions | the options to copy from. |
array | $options | the options to copy to. |
Definition at line 3953 of file TbHtml.php.
|
staticprotected |
Creates an active form input of the given type.
string | $type | the input type. |
CModel | $model | the model instance. |
string | $attribute | the attribute name. |
array | $htmlOptions | additional HTML attributes. |
array | $data | data for multiple select inputs. |
CException | if the input type is invalid. |
Definition at line 1984 of file TbHtml.php.
|
staticprotected |
Creates a button the of given type.
string | $type | the button type. |
string | $label | the button label. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2463 of file TbHtml.php.
|
staticprotected |
Creates a form input of the given type.
string | $type | the input type. |
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
array | $data | data for multiple select inputs. |
CException | if the input type is invalid. |
Definition at line 1331 of file TbHtml.php.
|
static |
Generates a date field input.
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 763 of file TbHtml.php.
|
static |
Generates a control group with a date field.
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1111 of file TbHtml.php.
|
static |
Sets the default value for an item in the given options.
string | $name | the name of the item. |
mixed | $value | the default value. |
array | $options | the options. |
Definition at line 4051 of file TbHtml.php.
|
static |
Sets multiple default options for the given options array.
array | $options | the options to set defaults for. |
array | $defaults | the default options. |
Definition at line 3992 of file TbHtml.php.
|
static |
Generates a dropdown menu.
array | $items | the menu items. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2605 of file TbHtml.php.
|
static |
Generates a drop down list.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
Definition at line 820 of file TbHtml.php.
|
static |
Generates a control group with a drop down list.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1177 of file TbHtml.php.
|
static |
Generates a dropdown toggle element.
string | $tag | the HTML tag. |
string | $label | the element text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2644 of file TbHtml.php.
|
static |
Generates a dropdown toggle button.
string | $label | the button label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2632 of file TbHtml.php.
|
static |
Generates a dropdown toggle link.
string | $label | the link label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2621 of file TbHtml.php.
|
static |
Generates a dropdown toggle menu item.
string | $label | the menu item text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2658 of file TbHtml.php.
|
static |
Generates an emphasized text.
string | $style | the text style. |
string | $text | the text to emphasize. |
array | $htmlOptions | additional HTML attributes. |
string | $tag | the HTML tag. |
Definition at line 453 of file TbHtml.php.
|
static |
Generates an email field input.
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 724 of file TbHtml.php.
|
static |
Generates a control group with an email field.
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1072 of file TbHtml.php.
|
static |
Displays the first validation error for a model attribute.
CModel | $model | the data model. |
string | $attribute | the attribute name. |
array | $htmlOptions | additional HTML attributes to be rendered in the container tag. |
Definition at line 2053 of file TbHtml.php.
|
static |
Displays a summary of validation errors for one or several models.
mixed | $model | the models whose input errors are to be displayed. |
string | $header | a piece of HTML code that appears in front of the errors. |
string | $footer | a piece of HTML code that appears at the end of the errors. |
array | $htmlOptions | additional HTML attributes to be rendered in the container div tag. |
Definition at line 2039 of file TbHtml.php.
|
static |
Generates a control group with a file field.
string | $name | the input name. |
string | $value | the input value. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1137 of file TbHtml.php.
|
static |
Generates form actions.
mixed | $actions | the actions. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2201 of file TbHtml.php.
|
static |
Generates a form tag.
string | $layout | the form layout. |
string | $action | the form action URL. |
string | $method | form method (e.g. post, get). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 645 of file TbHtml.php.
|
staticprotected |
Returns the add-on classes based on the given options.
array | $htmlOptions | the options. |
Definition at line 2104 of file TbHtml.php.
|
static |
Returns an item from the given options or the default value if it's not set.
string | $name | the name of the item. |
array | $options | the options to get from. |
mixed | $defaultValue | the default value. |
Definition at line 4020 of file TbHtml.php.
|
static |
Generates a help text.
string | $text | the help text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 552 of file TbHtml.php.
|
static |
Generates a help block.
string | $text | the help text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 564 of file TbHtml.php.
|
static |
Generates a hero unit.
string | $heading | the heading text. |
string | $content | the content text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3281 of file TbHtml.php.
|
static |
Generates an image submit button.
string | $src | the image URL |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2295 of file TbHtml.php.
|
static |
Generates italic text.
string | $text | the text to style. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 440 of file TbHtml.php.
|
static |
Generates an icon.
string | $icon | the icon type. |
array | $htmlOptions | additional HTML attributes. |
string | $tagName | the icon HTML tag. |
Definition at line 2579 of file TbHtml.php.
|
static |
Generates an image tag.
string | $src | the image URL. |
string | $alt | the alternative text display. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2560 of file TbHtml.php.
|
static |
Generates an image submit button.
string | $src | the image URL |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2328 of file TbHtml.php.
|
static |
Generates an image tag with circle.
string | $src | the image URL. |
string | $alt | the alternative text display. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2534 of file TbHtml.php.
|
static |
Generates an image tag within polaroid frame.
string | $src | the image URL. |
string | $alt | the alternative text display. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2547 of file TbHtml.php.
|
static |
Generates an image tag with rounded corners.
string | $src | the image URL. |
string | $alt | the alternative text display. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2521 of file TbHtml.php.
|
static |
Generates an inline check box list.
string | $name | name of the check box list. |
mixed | $select | selection of the check boxes. |
array | $data | $data value-label pairs used to generate the check box list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 993 of file TbHtml.php.
|
static |
Generates a control group with an inline check box list.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1247 of file TbHtml.php.
|
static |
Generates an inline radio button list.
string | $name | name of the radio button list. |
mixed | $select | selection of the radio buttons. |
array | $data | $data value-label pairs used to generate the radio button list. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 899 of file TbHtml.php.
|
static |
Generates a control group with an inline radio button list.
string | $name | the input name. |
string | $select | the selected value. |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 1219 of file TbHtml.php.
|
staticprotected |
Generates an add-on for an input field.
string | $addOn | the add-on. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2120 of file TbHtml.php.
|
staticprotected |
Generates a help text for an input field.
string | $help | the help text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2135 of file TbHtml.php.
|
static |
Generates a label span.
string | $label | the label text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 3246 of file TbHtml.php.
|
static |
Generates a paragraph that stands out.
string | $text | the lead text. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 406 of file TbHtml.php.
|
static |
Generates a hyperlink tag.
string | $text | link body. It will NOT be HTML-encoded. |
mixed | $url | a URL or an action route that can be used to create a URL. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2271 of file TbHtml.php.
|
static |
Generates a link submit button.
string | $label | the button label. |
array | $htmlOptions | additional HTML attributes. |
Definition at line 2340 of file TbHtml.php.
|
static |
Generates a list box.
string | $name | the input name. |
mixed | $select | the selected value(s). |
array | $data | data for generating the list options (value=>display). |
array | $htmlOptions | additional HTML attributes. |
Definition at line 834 of file TbHtml.php.