Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CampaignItemsRelatedListView Class Reference

Inheritance diagram for CampaignItemsRelatedListView:
RelatedListView ListView PortletViewInterface RelatedPortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($viewData, $params, $uniqueLayoutId)
 getModelClassName ()

Static Public Member Functions

static getDefaultMetadata ()
static getModuleClassName ()
static getAdditionalOptionMenuItems ()
static canUserRemove ()

Protected Member Functions

 renderContent ()
 getGridViewWidgetPath ()
 getRelationAttributeName ()
 getUniquePageId ()
 getEmptyText ()
 getCGridViewLastColumn ()
 getWrapperDivClass ()
 getCGridViewParams ()
 getCGridViewColumns ()
 makeSearchAttributeData ()
 renderConfigurationForm ()
 renderConfigurationFormLayout ($form)
 registerConfigurationFormLayoutScripts ($form)
 getConfigurationForm ()
 resolveCampaignItemsConfigFormFromRequest (&$campaignItemsConfigurationForm)
 saveUserSettingsFromConfigForm (&$campaignItemsConfigurationForm)
 restoreUserSettingsToConfigFrom (&$campaignItemsConfigurationForm, $excludeFromRestore)
 getPortletDetailsUrl ()

Protected Attributes

 $showStageFilter = true

Static Protected Attributes

static $persistantCampaignItemsPortletConfigs

Detailed Description

Definition at line 37 of file CampaignItemsRelatedListView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders content for a list view. Utilizes a CActiveDataprovider and a CGridView widget. and form layout.

Returns:
A string containing the element's content.

Reimplemented from ListView.

Definition at line 55 of file CampaignItemsRelatedListView.php.

static getDefaultMetadata (  )  [static]

Returns meta data for use in automatically generating the view. The meta data is comprised of columns. The parameters match the parameters used in CGridView. See link below for more information. http://www.yiiframework.com/doc/api/1.1/CGridView/

The below example is a simple listview with the 'id' and 'name' attributes The 'name' column has a hyperlink to the detail view for that record.

            <?php
                $metadata = array(
                    array(
                        'class' => 'CDataColumn',
                        'name'  => 'id',
                    ),
                    array(
                        'class'           => 'CLinkColumn',
                        'header'          => Zurmo::t('Core', 'Name'),
                        'labelExpression' => '$data->name',
                        'urlExpression'   => 'Yii::app()->createUrl("/{$this->grid->getOwner()->getModule()->getId()}/{$this->grid->getOwner()->getId()}/details", array("id" => $data->id))',
                    )
                );
            ?>

Reimplemented from ListView.

Definition at line 77 of file CampaignItemsRelatedListView.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

Reimplemented from ListView.

Definition at line 138 of file CampaignItemsRelatedListView.php.

makeSearchAttributeData (  )  [protected]

Override to filter by email message stage

Reimplemented from RelatedListView.

Definition at line 154 of file CampaignItemsRelatedListView.php.

renderConfigurationForm (  )  [protected]
Returns:
string

Definition at line 185 of file CampaignItemsRelatedListView.php.

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

Definition at line 207 of file CampaignItemsRelatedListView.php.

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

Definition at line 234 of file CampaignItemsRelatedListView.php.

getConfigurationForm (  )  [protected]
resolveCampaignItemsConfigFormFromRequest ( &$  campaignItemsConfigurationForm  )  [protected]
Parameters:
CampaignItemsConfigurationForm $campaignItemsConfigurationForm

Definition at line 271 of file CampaignItemsRelatedListView.php.

saveUserSettingsFromConfigForm ( &$  campaignItemsConfigurationForm  )  [protected]
Parameters:
CampaignItemsConfigurationForm $campaignItemsConfigurationForm
Returns:
array

Definition at line 286 of file CampaignItemsRelatedListView.php.

restoreUserSettingsToConfigFrom ( &$  campaignItemsConfigurationForm,
excludeFromRestore 
) [protected]
Parameters:
CampaignItemsConfigurationForm $campaignItemsConfigurationForm
string $excludeFromRestore
Returns:
CampaignItemsConfigurationForm

Definition at line 311 of file CampaignItemsRelatedListView.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 335 of file CampaignItemsRelatedListView.php.

static canUserRemove (  )  [static]
Returns:
bool

Definition at line 368 of file CampaignItemsRelatedListView.php.


Field Documentation

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

Definition at line 39 of file CampaignItemsRelatedListView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:45 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8