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

LeadsMyListView Class Reference

Inheritance diagram for LeadsMyListView:
SecuredMyListView MyListView ListView PortletViewInterface ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Static Public Member Functions

static getDefaultMetadata ()
static getModuleClassName ()
static getDisplayDescription ()

Protected Member Functions

 getSearchModel ()

Static Protected Member Functions

static getConfigViewClassName ()

Detailed Description

Class used for the dashboard, selectable by users to display a list of their leads or filtered any way.

Definition at line 40 of file LeadsMyListView.php.


Member Function Documentation

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 42 of file LeadsMyListView.php.

static getDisplayDescription (  )  [static]

Override to add a display description. An example would be 'My Contacts'. This display description can then be used by external classes interfacing with the view in order to display information to the user in the user interface.

Reimplemented from MyListView.

Definition at line 89 of file LeadsMyListView.php.

getSearchModel (  )  [protected]

Override in non-abstract class to return the proper search model object.

Exceptions:
NotImplementedException 

Reimplemented from MyListView.

Definition at line 94 of file LeadsMyListView.php.

static getConfigViewClassName (  )  [static, protected]

Override in non-abstract class to return the proper config view class name.

Exceptions:
NotImplementedException 

Reimplemented from MyListView.

Definition at line 100 of file LeadsMyListView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jun 25 07:11:00 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