Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
ZurmoHtml Class Reference
Inheritance diagram for ZurmoHtml:
MobileHtml

Static Public Member Functions

static encode ($text)
 
static errorSummary ($model, $header=null, $footer=null, $htmlOptions=array())
 
static activeRadioButtonList ($model, $attribute, $data, $htmlOptions=array(), $dataSelectOptions=array(), $dataHtmlOptions=array())
 
static radioButtonList ($name, $select, $data, $htmlOptions=array(), $dataSelectOptions=array(), $dataHtmlOptions=array())
 
static activeCheckBox ($model, $attribute, $htmlOptions=array())
 
static checkBox ($name, $checked=false, $htmlOptions=array())
 
static ajaxLink ($text, $url, $ajaxOptions=array(), $htmlOptions=array())
 
static activeCheckBoxList ($model, $attribute, $data, $htmlOptions=array())
 
static checkBoxList ($name, $select, $data, $htmlOptions=array())
 
static activeDropDownList ($model, $attribute, $data, $htmlOptions=array())
 
static dropDownList ($name, $select, $data, $htmlOptions=array())
 
static wrapLabel ($label, $class= 'z-label')
 
static wrapLink ($label)
 
static span ($class)
 
static resolveDivWrapperForContent ($innerContent, &$content, $class=null)
 
static wrapAndRenderContinuumButtonContent ($content)
 
static icon ($class)
 

Static Protected Member Functions

static clientChange ($event, &$htmlOptions)
 

Detailed Description

Override for any functions that need special handling for the zurmo application.

Definition at line 40 of file ZurmoHtml.php.

Member Function Documentation

static encode (   $text)
static

Override CHtml::encode() to avoid double encode, because data are alredy encoded, when stored into database(using HtmlPurifier)

See Also
CHtml::encode()

Definition at line 47 of file ZurmoHtml.php.

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

Override to handle relation model error summary information. This information needs to be parsed properly otherwise it will show up as 'Array' for the error text.

See Also
CHtml::errorSummary()

Definition at line 57 of file ZurmoHtml.php.

static activeRadioButtonList (   $model,
  $attribute,
  $data,
  $htmlOptions = array(),
  $dataSelectOptions = array(),
  $dataHtmlOptions = array() 
)
static

This function overrides the activeRadioButtonList from CHtml to properly call radioButtonList in ZurmoHtml

Definition at line 126 of file ZurmoHtml.php.

static radioButtonList (   $name,
  $select,
  $data,
  $htmlOptions = array(),
  $dataSelectOptions = array(),
  $dataHtmlOptions = array() 
)
static

This function overrides the radioButtonList from CHtml and excepts a new variable which consists of select box to be appended to the label element.

Definition at line 170 of file ZurmoHtml.php.

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

Override to add proper styling to checkboxes.

See Also
CHtml::checkBox

Definition at line 267 of file ZurmoHtml.php.

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

Override to support namespacing and unbinding before binding any clientChange click actions.

See Also
CHtml::ajaxLink

Definition at line 328 of file ZurmoHtml.php.

static clientChange (   $event,
$htmlOptions 
)
staticprotected

Override to support namespacing. Namespacing is important because if there is a namespace defined, then whatever binding for the even is occuring, will be first unbinded. This is important because in an ajax load, you can have things double or triple bound. This resolves that issue. If you want the binding to have an attempted unbind first, then set the name space.

See Also
CHtml::clientChange();

Definition at line 351 of file ZurmoHtml.php.

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

Override to support proper checkbox labeling for when checked.

See Also
CHtml::activeCheckBoxList();

Definition at line 493 of file ZurmoHtml.php.

static checkBoxList (   $name,
  $select,
  $data,
  $htmlOptions = array() 
)
static
See Also
CHtml::checkBoxList();

Definition at line 520 of file ZurmoHtml.php.

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

Override to support proper styling

See Also
CHtml::activeDropDownList();

Definition at line 598 of file ZurmoHtml.php.

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

Override to support proper styling

See Also
CHtml::dropDownList();

Definition at line 627 of file ZurmoHtml.php.

static wrapLabel (   $label,
  $class = 'z-label' 
)
static

Return a label wrapped in span

Parameters
$labellabel text
$classclass to be applied to span wrapper, defaults to z-label
Returns
string wrapped label

Definition at line 656 of file ZurmoHtml.php.

static wrapLink (   $label)
static

Returns a link wrapped in standard tags

Parameters
$labellink text
Returns
string wrapped link

Definition at line 666 of file ZurmoHtml.php.

static span (   $class)
static

Return a span tag with specified class

Parameters
$classname of css class to apply
Returns
string span tag

Definition at line 676 of file ZurmoHtml.php.

static resolveDivWrapperForContent (   $innerContent,
$content,
  $class = null 
)
static
Parameters
string$innerContent
string$content
null | string$class

Definition at line 686 of file ZurmoHtml.php.


The documentation for this class was generated from the following file:
Generated on Mon Jul 13 2020 07:11:10
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.