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

Public Member Functions

 CalendarUpgradeManager ()
 
- 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)
 

Public Attributes

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

Additional Inherited Members

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

Detailed Description

Definition at line 54 of file calendar_upgrade_manager.inc.

Member Function Documentation

◆ CalendarUpgradeManager()

CalendarUpgradeManager::CalendarUpgradeManager ( )

Definition at line 68 of file calendar_upgrade_manager.inc.

69  {
70  $this->component_name = "calendar";
71 
72  // sets the sqlFile name according to default
73  parent::UpgradeManager();
74  }

Member Data Documentation

◆ $updateMap

CalendarUpgradeManager::$updateMap
Initial value:
= array(
"1.0" => "sql:Initial Installation",
"1.1" => "sql:Add the table event_type and calendar_event_type_xref",
"1.2" => "sql: insert data into the event_type table",
"1.3" => "sql:Add table event_invitation; add event_invitation_id to event table; change event start and end dates to be datetime",
"1.4" => "sql:Add field allow_access to event table",
"1.5" => "sql:Add time_zone table and US time zone data; add field time_zone_id to event table",
"1.6" => "sql:Add column owner_id to event table",
"1.7" => "sql:Add indexes",
"1.8" => "sql:Added event_comment_xref table"
)

Definition at line 56 of file calendar_upgrade_manager.inc.


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