DaysMeetingsFromCalendarModalListView Class Reference

Inheritance diagram for DaysMeetingsFromCalendarModalListView:
ListView ModelView ListViewInterface ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $stringTime, $redirectUrl, $ownerOnly=false, $relationModel=null, $relationModuleId=null)
 getLinkString ($attributeString, $attribute)
 isUniqueToAPage ()
 getDataProvider ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 getCGridViewPagerParams ()
 getCGridViewAfterAjaxUpdate ()
 getCGridViewLastColumn ()
 getGridViewWidgetPath ()
 makeSearchAttributeData ()
 makeDataProviderBySearchAttributeData ($searchAttributeData)
 getCreateMeetingUrl ()
 renderContent ()

Static Protected Member Functions

static getPagerCssClass ()

Protected Attributes

 $ownerOnly = false

Detailed Description

Special modal view utilized by calendar to show meetings on a particular day.

Definition at line 40 of file DaysMeetingsFromCalendarModalListView.php.

Constructor & Destructor Documentation

__construct ( controllerId,
ownerOnly = false,
relationModel = null,
relationModuleId = null 
string $controllerId
string $moduleId
string $stringTime
string $redirectUrl
bool $ownerOnly
null|RedBeanModel $relationModel

Definition at line 56 of file DaysMeetingsFromCalendarModalListView.php.

Member Function Documentation

getCGridViewAfterAjaxUpdate (  )  [protected]

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

See also:

Reimplemented from ListView.

Definition at line 101 of file DaysMeetingsFromCalendarModalListView.php.

getCGridViewLastColumn (  )  [protected]

Override to remove action buttons.

Reimplemented from ListView.

Definition at line 113 of file DaysMeetingsFromCalendarModalListView.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.

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.

                $metadata = array(
                        'class' => 'CDataColumn',
                        'name'  => 'id',
                        '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 118 of file DaysMeetingsFromCalendarModalListView.php.

getLinkString ( attributeString,

Override to handle security/access resolution on links.

Reimplemented from ListView.

Definition at line 164 of file DaysMeetingsFromCalendarModalListView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 228 of file DaysMeetingsFromCalendarModalListView.php.

renderContent (  )  [protected]

Override to add link for meeting creation

Reimplemented from ListView.

Definition at line 266 of file DaysMeetingsFromCalendarModalListView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jan 19 07:10:56 2020