DynamicSearchView Class Reference

Inheritance diagram for DynamicSearchView:
SearchView ModelView ConfigurableMetadataView MetadataView View SavedDynamicSearchView AccountsSearchView CampaignsSearchView ContactsSearchView ContactWebFormEntrySearchView ContactWebFormsSearchView GameRewardsSearchView LeadsSearchView MarketingListMembersSearchView MarketingListsSearchView OpportunitiesSearchView ProductsSearchView ProductTemplatesSearchView ProjectsSearchView ReportsSearchView TasksSearchView UsersSearchView WorkflowsSearchView

Public Member Functions

 __construct ($model, $listModelClassName, $gridIdSuffix=null, $hideAllSearchPanelsToStart=false)

Static Public Member Functions

static getDesignerRulesType ()
static resolveAttributeIndexOrDerivedTypeAndLabelsForDynamicSearchRow (&$attributeIndexOrDerivedTypeAndLabels)

Data Fields


Protected Member Functions

 getClientOptions ()
 getEnableAjaxValidationValue ()
 getExtraRenderForClearSearchLinkScript ()
 getFormActionUrl ()
 getRowCounterInputId ()
 getStructureInputId ()
 getStructureInputName ()
 renderConfigSaveAjax ($formName)
 getExtraRenderFormBottomPanelScriptPart ()
 renderAdvancedSearchScripts ()
 renderAdvancedSearchForFormLayout ($panel, $maxCellsPerRow, $form=null)
 renderDynamicAdvancedSearchRows ($panel, $maxCellsPerRow, $form)
 renderAddExtraRowContent ($rowCount)
 renderAfterAddExtraRowContent ($form)
 getAddFieldLabelContent ()
 renderAfterFormLayout ($form)
 renderDynamicClausesValidationHelperContent ($form)
 renderDynamicSearchStructureContent ($form)
 renderStructureInputContent ($form)
 shouldHideDynamicSearchStructureByDefault ()
 getClearSearchLabelPrefixContent ()
 getClearSearchLabelContent ()
 getClearSearchLinkStartingStyle ()

Static Protected Member Functions

static resolveSearchAttributeValuesForDynamicRow ($dynamicClause, $attributeIndexOrDerivedType)

Detailed Description

Supports dyanmic advanced search. This is where the user can decide the fields to filter on.

Definition at line 40 of file DynamicSearchView.php.

Constructor & Destructor Documentation

__construct ( model,
gridIdSuffix = null,
hideAllSearchPanelsToStart = false 

Constructs a detail view specifying the controller as well as the model that will have its details displayed.

Reimplemented from SearchView.

Reimplemented in SavedDynamicSearchView.

Definition at line 55 of file DynamicSearchView.php.

Member Function Documentation

static getDesignerRulesType (  )  [static]

Override in each sub-class if you have applicable designer rules for handling the modification of metadata layouts

null or a DesignerRules Class;

Reimplemented from SearchView.

Definition at line 46 of file DynamicSearchView.php.

getExtraRenderFormBottomPanelScriptPart (  )  [protected]

Override as needed.

Reimplemented from SearchView.

Reimplemented in SavedDynamicSearchView.

Definition at line 134 of file DynamicSearchView.php.

renderAdvancedSearchScripts (  )  [protected]

Override to do nothing since the validation and ajax is controlled via

See also:
renderConfigSaveAjax (non-PHPdoc)

Reimplemented from SearchView.

Definition at line 149 of file DynamicSearchView.php.

renderAddExtraRowContent ( rowCount  )  [protected]
int $rowCount

Definition at line 227 of file DynamicSearchView.php.

renderDynamicClausesValidationHelperContent ( form  )  [protected]

This is a trick to properly validate this form. Eventually refactor. Used to support error summary correctly.

Definition at line 287 of file DynamicSearchView.php.

static resolveAttributeIndexOrDerivedTypeAndLabelsForDynamicSearchRow ( &$  attributeIndexOrDerivedTypeAndLabels  )  [static]

Override and manipulate as needed. This method can be used to change the ordering that the dynamic search attribute dropdown shows attributes in for example.

array $attributeIndexOrDerivedTypeAndLabels

Definition at line 394 of file DynamicSearchView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Mar 23 07:10:25 2017