All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
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)
 
- Public Member Functions inherited from ListView
 __construct ($controllerId, $moduleId, $modelClassName, $dataProvider, $selectedIds, $gridIdSuffix=null, $gridViewPagerParams=array(), $listAttributesSelector=null, $kanbanBoard=null)
 
 getRowsAreSelectable ()
 
 setRowsAreSelectable ($value)
 
 getSummaryCloneId ()
 
 getTableColumnGroup ()
 
 setEmptyText ($text)
 
 getGridViewId ()
 
 getLinkString ($attributeString, $attribute)
 
 getRelatedLinkString ($attributeString, $attributeName, $moduleId)
 
 getModuleId ()
 
 getControllerId ()
 
- Public Member Functions inherited from ModelView
 getModelClassName ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Static Public Member Functions

static getDefaultMetadata ()
 
static getModuleClassName ()
 
- Static Public Member Functions inherited from ListView
static getDefaultMetadata ()
 
static canRenderRowMenuColumnByElementAndData ($element, $data)
 
static resolveRelatedListStringContent ($modelId, $linkStringContent)
 
static getDesignerRulesType ()
 

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 ()
 
- Protected Member Functions inherited from ListView
 getKanbanBoard ()
 
 setKanbanBoard ($kanbanBoard)
 
 renderContent ()
 
 getGridViewWidgetPath ()
 
 getCGridViewParams ()
 
 getTypeCssClassForCGridView ()
 
 getKanbanCssClassForCGridView ()
 
 getCGridViewPagerParams ()
 
 getShowTableOnEmpty ()
 
 getEmptyText ()
 
 getCGridViewFirstColumn ()
 
 getCGridViewColumns ()
 
 resolveMetadata ()
 
 getResolvedMetadata ()
 
 getCGridViewBeforeAjaxUpdate ()
 
 getCGridViewAfterAjaxUpdate ()
 
 getCGridViewAjaxUrl ()
 
 getCGridViewSelectableRowsCount ()
 
 getCGridViewLastColumn ()
 
 getGridViewMenuColumn ()
 
 getGridViewActionRoute ($action, $moduleId=null)
 
 getListActionId ()
 
 getActionModuleClassName ()
 
 getDataProvider ()
 
 renderScripts ()
 
 processColumnInfoToFetchColumnData ($columnInformation)
 
 isHeaderHidden ()
 
 resolveRowMenuColumnClass ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Static Protected Member Functions

static getGridTemplate ()
 
static resolveAjaxOptionsForSelectList ()
 
- Static Protected Member Functions inherited from ListView
static getGridTemplate ()
 
static getPagerCssClass ()
 
static getSummaryText ()
 
static getSummaryCssClass ()
 
- Static Protected Member Functions inherited from ModelView
static assertMetadataIsValid (array $metadata)
 

Protected Attributes

 $configurationForm = 'ProductsConfigurationForm'
 
 $uniquePageId
 
 $params
 
 $showStageFilter = true
 
 $relationModuleId
 
- Protected Attributes inherited from ListView
 $controllerId
 
 $moduleId
 
 $dataProvider
 
 $renderViewToolBarDuringRenderContent = true
 
 $rowsAreSelectable = false
 
 $gridId
 
 $gridIdSuffix
 
 $selectedIds
 
 $gridViewPagerParams = array()
 
 $emptyText = null
 
- Protected Attributes inherited from ModelView
 $modelClassName
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Static Protected Attributes

static $persistantProductPortletConfigs
 

Detailed Description

Definition at line 37 of file ProductsRelatedListView.php.

Member Function Documentation

static getDefaultMetadata ( )
static
Returns
array

Definition at line 80 of file ProductsRelatedListView.php.

static getModuleClassName ( )
static
Returns
string

Implements PortletViewInterface.

Definition at line 156 of file ProductsRelatedListView.php.

static getGridTemplate ( )
staticprotected
Returns
string

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()

Definition at line 175 of file ProductsRelatedListView.php.

static resolveAjaxOptionsForSelectList ( )
staticprotected
Returns
array

Definition at line 191 of file ProductsRelatedListView.php.

getCGridViewColumns ( )
protected

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

Definition at line 202 of file ProductsRelatedListView.php.

renderContent ( )
protected
Returns
string

Definition at line 215 of file ProductsRelatedListView.php.

getGridViewId ( )
Returns
string

Definition at line 234 of file ProductsRelatedListView.php.

getGridViewWidgetPath ( )
protected
Returns
string

Definition at line 242 of file ProductsRelatedListView.php.

getCGridViewParams ( )
protected
Returns
array

Definition at line 250 of file ProductsRelatedListView.php.

getCGridViewPagerParams ( )
protected
Returns
array

Definition at line 260 of file ProductsRelatedListView.php.

renderPortletHeadContent ( )
Returns
string

Implements PortletViewInterface.

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

Definition at line 443 of file ProductsRelatedListView.php.

processColumnInfoToFetchColumnData (   $columnInformation)
protected

Process input column information to fetch column data

Definition at line 472 of file ProductsRelatedListView.php.

getLinkString (   $attributeString,
  $attribute 
)

Override to handle security/access resolution on links.

Implements ListViewInterface.

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

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

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
staticprotected
Initial value:
= array(
'filteredByStage'
)

Definition at line 61 of file ProductsRelatedListView.php.


The documentation for this class was generated from the following file:
Generated on Thu Apr 2 2020 07:11:17