SelectFromRelatedListModalListLinkProvider Class Reference

Inheritance diagram for SelectFromRelatedListModalListLinkProvider:
ModalListLinkProvider ProductTemplateSelectFromRelatedListModalListLinkProvider

Public Member Functions

 __construct ($relationAttributeName, $relationModelId, $relationModuleId, $uniquePortletPageId, $uniqueLayoutId, $portletId, $moduleId)
 getLinkString ($attributeString)

Protected Attributes

 $sourceIdFieldId
 $sourceNameFieldId
 $uniquePortletPageId

Detailed Description

Class utilized by 'select' modal popup in the detail views. If you are selecting a contact to relate to an opportunity, this class provides routing and ajax information for when you select the contact in the modal popup.

Definition at line 42 of file SelectFromRelatedListModalListLinkProvider.php.


Constructor & Destructor Documentation

__construct ( relationAttributeName,
relationModelId,
relationModuleId,
uniquePortletPageId,
uniqueLayoutId,
portletId,
moduleId 
)

sourceIdFieldName and sourceNameFieldId are needed to know which fields in the parent form to populate data with upon selecting a row in the listview

Definition at line 66 of file SelectFromRelatedListModalListLinkProvider.php.


Member Function Documentation

getLinkString ( attributeString  ) 

Assumes the modalContainer id is 'modalContainer'. (non-PHPdoc)

See also:
ModalListLinkProvider::getLinkString()

Reimplemented from ModalListLinkProvider.

Reimplemented in ProductTemplateSelectFromRelatedListModalListLinkProvider.

Definition at line 90 of file SelectFromRelatedListModalListLinkProvider.php.


Field Documentation

$sourceIdFieldId [protected]

Id of input field in display for saving back a selected record from the modal list view.

See also:
$sourceIdFieldId

Definition at line 49 of file SelectFromRelatedListModalListLinkProvider.php.

$sourceNameFieldId [protected]

Name of input field in display for saving back a selected record from the modal list view.

See also:
$sourceNameFieldId

Definition at line 56 of file SelectFromRelatedListModalListLinkProvider.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Apr 29 07:10:29 2017