ProductsRelatedListView Class Reference

Inheritance diagram for ProductsRelatedListView:
SecuredRelatedListView RelatedListView ListView PortletViewInterface RelatedPortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View ProductsForAccountRelatedListView ProductsForContactRelatedListView ProductsForOpportunityRelatedListView

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 getGridViewId ()
 renderPortletHeadContent ()
 getLinkString ($attributeString, $attribute)
 resolveLinkString ($data, $row)

Static Public Member Functions

static getDefaultMetadata ()
static getModuleClassName ()

Data Fields

 $redirectUrl

Protected Member Functions

 getCGridViewAfterAjaxUpdate ()
 getUniquePageId ()
 getCGridViewColumns ()
 renderContent ()
 getGridViewWidgetPath ()
 getCGridViewParams ()
 getCGridViewPagerParams ()
 renderConfigurationForm ()
 renderConfigurationFormLayout ($form)
 registerConfigurationFormLayoutScripts ($form)
 getConfigurationForm ()
 resolveProductsConfigFormFromRequest (&$productsConfigurationForm)
 saveUserSettingsFromConfigForm (&$productsConfigurationForm)
 restoreUserSettingsToConfigFrom (&$productsConfigurationForm, $excludeFromRestore)
 getPortletDetailsUrl ()
 makeSearchAttributeData ()
 processColumnInfoToFetchColumnData ($columnInformation)
 renderScripts ()
 getActionModalLinksHtmlOptions ($type)
 getCreateLinkRouteParameters ()

Static Protected Member Functions

static getGridTemplate ()
static resolveAjaxOptionsForSelectList ()

Protected Attributes

 $configurationForm = 'ProductsConfigurationForm'
 $uniquePageId
 $params
 $showStageFilter = true
 $relationModuleId

Static Protected Attributes

static $persistantProductPortletConfigs

Detailed Description

Definition at line 37 of file ProductsRelatedListView.php.


Member Function Documentation

static getDefaultMetadata (  )  [static]
static getModuleClassName (  )  [static]
Returns:
string

Implements PortletViewInterface.

Definition at line 156 of file ProductsRelatedListView.php.

static getGridTemplate (  )  [static, protected]
Returns:
string

Reimplemented from RelatedListView.

Definition at line 164 of file ProductsRelatedListView.php.

getCGridViewAfterAjaxUpdate (  )  [protected]

Override to not run global eval, since it causes doubling up of ajax requests on the pager. (non-PHPdoc)

See also:
ListView::getCGridViewAfterAjaxUpdate()

Reimplemented from RelatedListView.

Definition at line 175 of file ProductsRelatedListView.php.

static resolveAjaxOptionsForSelectList (  )  [static, protected]
getCGridViewColumns (  )  [protected]

Get the meta data and merge with standard CGridView column elements to create a column array that fits the CGridView columns API

Reimplemented from ListView.

Definition at line 202 of file ProductsRelatedListView.php.

renderContent (  )  [protected]
Returns:
string

Reimplemented from ListView.

Definition at line 215 of file ProductsRelatedListView.php.

getGridViewId (  ) 
Returns:
string

Reimplemented from ListView.

Definition at line 234 of file ProductsRelatedListView.php.

getGridViewWidgetPath (  )  [protected]
Returns:
string

Reimplemented from RelatedListView.

Definition at line 242 of file ProductsRelatedListView.php.

getCGridViewParams (  )  [protected]
Returns:
array

Reimplemented from ListView.

Definition at line 250 of file ProductsRelatedListView.php.

getCGridViewPagerParams (  )  [protected]
Returns:
array

Reimplemented from RelatedListView.

Definition at line 260 of file ProductsRelatedListView.php.

renderPortletHeadContent (  ) 
Returns:
string

Reimplemented from RelatedListView.

Definition at line 271 of file ProductsRelatedListView.php.

renderConfigurationForm (  )  [protected]
Returns:
string

Definition at line 279 of file ProductsRelatedListView.php.

renderConfigurationFormLayout ( form  )  [protected]
Parameters:
ProductsConfigurationForm $form
Returns:
string

Definition at line 301 of file ProductsRelatedListView.php.

registerConfigurationFormLayoutScripts ( form  )  [protected]
Parameters:
ProductsConfigurationForm $form

Definition at line 327 of file ProductsRelatedListView.php.

getConfigurationForm (  )  [protected]
Returns:
ProductsConfigurationForm

Definition at line 356 of file ProductsRelatedListView.php.

resolveProductsConfigFormFromRequest ( &$  productsConfigurationForm  )  [protected]
Parameters:
ProductsConfigurationForm $productsConfigurationForm

Definition at line 364 of file ProductsRelatedListView.php.

saveUserSettingsFromConfigForm ( &$  productsConfigurationForm  )  [protected]
Parameters:
ProductsConfigurationForm $productsConfigurationForm
Returns:
array

Definition at line 379 of file ProductsRelatedListView.php.

restoreUserSettingsToConfigFrom ( &$  productsConfigurationForm,
excludeFromRestore 
) [protected]
Parameters:
ProductsConfigurationForm $productsConfigurationForm
string $excludeFromRestore
Returns:
ProductsConfigurationForm

Definition at line 403 of file ProductsRelatedListView.php.

getPortletDetailsUrl (  )  [protected]

After a portlet action is completed, the portlet must be refreshed. This is the url to correctly refresh the portlet content.

Definition at line 426 of file ProductsRelatedListView.php.

makeSearchAttributeData (  )  [protected]

Makes product search attributes data

Returns:
string

Reimplemented from RelatedListView.

Definition at line 443 of file ProductsRelatedListView.php.

processColumnInfoToFetchColumnData ( columnInformation  )  [protected]

Process input column information to fetch column data

Reimplemented from ListView.

Definition at line 472 of file ProductsRelatedListView.php.

getLinkString ( attributeString,
attribute 
)

Override to handle security/access resolution on links.

Reimplemented from SecuredRelatedListView.

Definition at line 494 of file ProductsRelatedListView.php.

resolveLinkString ( data,
row 
)

Resolves the link string for task detail modal view

Parameters:
array $data
int $row
Returns:
string

Definition at line 505 of file ProductsRelatedListView.php.

renderScripts (  )  [protected]

Register the additional script for product detail modal

Reimplemented from ListView.

Definition at line 515 of file ProductsRelatedListView.php.

getActionModalLinksHtmlOptions ( type  )  [protected]

Get action modal link html options based on type

Parameters:
string $type
Returns:
array

Definition at line 527 of file ProductsRelatedListView.php.

getCreateLinkRouteParameters (  )  [protected]

Override to pass the sourceId

Returns:
array

Reimplemented from RelatedListView.

Definition at line 539 of file ProductsRelatedListView.php.


Field Documentation

$configurationForm = 'ProductsConfigurationForm' [protected]

Form that has the information for how to display the latest products view.

Definition at line 42 of file ProductsRelatedListView.php.

$persistantProductPortletConfigs [static, protected]
Initial value:
 array(
            'filteredByStage'
        )

Definition at line 61 of file ProductsRelatedListView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Oct 14 07:11:05 2019