ReportDetailsView Class Reference

Inheritance diagram for ReportDetailsView:
DetailsView ModelView ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, Report $model, $title=null, SavedReport $savedReport)
 getTitle ()
 registerScripts ()

Static Public Member Functions

static assertModelIsValid ($model)
static getDefaultMetadata ()

Protected Member Functions

 renderContent ()
 shouldRenderToolBarElement ($element, $elementInformation)
 userCanCreateReport ()
 userCanEditReport ()
 userCanDeleteReport ()
 userCanExportReport ()

Protected Attributes

 $savedReport

Detailed Description

View for managing report details

Definition at line 40 of file ReportDetailsView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
Report model,
title = null,
SavedReport savedReport 
)

Override to support security checks on user rights/permissions. The savedReport is needed for this

Definition at line 47 of file ReportDetailsView.php.


Member Function Documentation

static assertModelIsValid ( model  )  [static]
Parameters:
$model 

Reimplemented from DetailsView.

Definition at line 56 of file ReportDetailsView.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from DetailsView.

Definition at line 64 of file ReportDetailsView.php.

getTitle (  ) 
Returns:
string
Exceptions:
NotSupportedException if the Report is new

Reimplemented from DetailsView.

Definition at line 94 of file ReportDetailsView.php.

renderContent (  )  [protected]
Returns:
string

Reimplemented from DetailsView.

Definition at line 121 of file ReportDetailsView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Dec 15 07:10:29 2017