All Data Structures Functions Variables Pages
Public Member Functions
NoRequiredsActiveForm Class Reference
Inheritance diagram for NoRequiredsActiveForm:
ZurmoActiveForm

Public Member Functions

 labelEx ($model, $attribute, $htmlOptions=array())
 
- Public Member Functions inherited from ZurmoActiveForm
 renderAddAttributeErrorSettingsScript ($formId)
 
 error ($model, $attribute, $htmlOptions=array(), $enableAjaxValidation=true, $enableClientValidation=true, $id=null)
 
 errorSummary ($models, $header=null, $footer=null, $htmlOptions=array())
 
 run ()
 
 getAttributes ()
 
 radioButtonList ($model, $attribute, $data, $htmlOptions=array(), $dataSelectOptions=array(), $dataHtmlOptions=array())
 
 checkBox ($model, $attribute, $htmlOptions=array())
 
 checkBoxList ($model, $attribute, $data, $htmlOptions=array())
 
 dropDownList ($model, $attribute, $data, $htmlOptions=array())
 

Additional Inherited Members

- Static Public Member Functions inherited from ZurmoActiveForm
static makeErrorsSummaryId ($id)
 
static makeErrorsDataAndResolveForOwnedModelAttributes ($model)
 
static makeErrorsDataAndResolveForOwnedModelAttributesAndHasOneRelations ($model)
 
- Data Fields inherited from ZurmoActiveForm
 $modelClassNameForError
 
 $bindAsLive = false
 
- Protected Member Functions inherited from ZurmoActiveForm
 resolveId ($model, $attribute)
 
 resolveModelClassNameForError ($model)
 

Detailed Description

Designed when you have a form that you can ignore required fields on. Example usage is a search field where there are no required fields. Currently only handles turning of red asterisk from label display.

Definition at line 42 of file NoRequiredsActiveForm.php.

Member Function Documentation

labelEx (   $model,
  $attribute,
  $htmlOptions = array() 
)

Override so we can force required to false. Uses activeLabel instead of activeLabelEx.

Definition at line 48 of file NoRequiredsActiveForm.php.


The documentation for this class was generated from the following file:
Generated on Sat Jan 25 2020 07:10:40