DynamicSearchRowView Class Reference

Inheritance diagram for DynamicSearchRowView:

Public Member Functions

 __construct ($searchableAttributeIndicesAndDerivedTypes, $rowNumber, $suffix, $formModelClassName, $ajaxOnChangeUrl, $selectedAttribute=null, $inputContent=null)
 render ()

Protected Member Functions

 renderContent ()
 renderScripts ()
 renderAttributeDropDownContent ()
 renderAttributeDropDownOnChangeScript ($id, $inputDivId, $ajaxOnChangeUrl)
 getInputsDivId ()

Protected Attributes


Detailed Description

Class for rendering an extra row when 'Add Field' is clicked in the advanced search.

Definition at line 40 of file DynamicSearchRowView.php.

Constructor & Destructor Documentation

__construct ( searchableAttributeIndicesAndDerivedTypes,
selectedAttribute = null,
inputContent = null 
array $searchableAttributeIndicesAndDerivedTypes
int $rowNumber
string $suffix
string $formModelClassName
string $ajaxOnChangeUrl
null|string $selectedAttribute
null|string $inputContent

Definition at line 65 of file DynamicSearchRowView.php.

Member Function Documentation

render (  ) 

Renders a div element with a id or class attribute set to the type of the view, (depending on the value returned by isUniqueToAPage()), and containing the content of any matching template found in the themes/<themename>/ directory if it exists, marked by begin/end comments, and the content of the view rendered by renderContent(). All are correctly indented by indent().

If the template does not exist in the active theme folder, it will attempt to locate the file in the themes/default/templates folder and include it if it exists.

Reimplemented from View.

Definition at line 84 of file DynamicSearchRowView.php.

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 89 of file DynamicSearchRowView.php.

renderScripts (  )  [protected]

Renders special scripts required for displaying the view. Renders scripts for dropdown styling and interaction.

Definition at line 109 of file DynamicSearchRowView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jan 20 07:10:52 2020