CMS  Version 3.9
ReportManagerUpgradeManager Class Reference
+ Inheritance diagram for ReportManagerUpgradeManager:
+ Collaboration diagram for ReportManagerUpgradeManager:

Public Member Functions

 ReportManagerUpgradeManager ()
 
- Public Member Functions inherited from UpgradeManager
 UpgradeManager ()
 
 upgrade ($upgrade_to="")
 
 upgradeOneVersion ($version_number, $function)
 
 executeVersionSql ($version_number)
 
 parseSQLStatements ($lines)
 
 executeSQLStatements ($sqlStatements)
 
 log ($text)
 
 executeVersionXML ($version)
 
 recordUpdate ($version, $description)
 
 saveLogFile ($version)
 
 addSectionContent ($items, $section_name="/", $role="", $template="", $permissions="")
 Utility function for use by calling classes to add an array of items of class Page, ComponentPage, Blog, ImageGallery, DocumentLibrary, Calendar to a section. More...
 
 addModuleToPages ($items, $module_name, $position='right', $sort_order=1)
 Given an array of either identifiers that must be either CMS Page or ComponentPage identifiers or items that are of obj CMSPage, Blog, Calendar, etc., link each to the specified module. More...
 
 searchByIdentifier ($identifier)
 
 addMenuItem ($item, $menu_identifier, $parent_identifier="", $title="", $section_name="", $sort_order=0)
 
 reformatPhone (&$item, $field)
 
 executeSQLFile ($sqlFile, $version_number)
 
 dependsOn ($component, $version)
 

Static Public Member Functions

static upgradeComponent ($version)
 
- Static Public Member Functions inherited from UpgradeManager
static upgradeComponentToVersion ($component, $version)
 

Public Attributes

 $updateMap
 
- Public Attributes inherited from UpgradeManager
 $sqlFile
 
 $xmlDir
 
 $component_name
 
 $log
 

Detailed Description

Definition at line 41 of file report_manager_upgrade_manager.inc.

Member Function Documentation

◆ ReportManagerUpgradeManager()

ReportManagerUpgradeManager::ReportManagerUpgradeManager ( )

Definition at line 51 of file report_manager_upgrade_manager.inc.

52  {
53  $this->component_name = "report_manager";
54 
55  // sets the sqlFile name according to default
56  parent::UpgradeManager();
57  }

◆ upgradeComponent()

static ReportManagerUpgradeManager::upgradeComponent (   $version)
static

Definition at line 59 of file report_manager_upgrade_manager.inc.

60  {
62  $mgr->upgrade($version);
63  }

Member Data Documentation

◆ $updateMap

ReportManagerUpgradeManager::$updateMap
Initial value:
= array(
"1.0" => "done:Initial Installation",
"1.1" => "sql:Added table for persisting custom reports",
"1.2" => "sql:change configuration column to longtext; add column user_id",
"1.3" => "sql:Added 'shared' field to custom reports",
"1.4" => "sql:Added 'column_order' field to custom reports to allow custom column reordering"
)

Definition at line 43 of file report_manager_upgrade_manager.inc.


The documentation for this class was generated from the following file: