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

Public Member Functions

 SectionUpgradeManager ()
 
- 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 section_upgrade_manager.inc.

Member Function Documentation

◆ SectionUpgradeManager()

SectionUpgradeManager::SectionUpgradeManager ( )

Definition at line 67 of file section_upgrade_manager.inc.

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

Member Data Documentation

◆ $updateMap

SectionUpgradeManager::$updateMap
Initial value:
= array(
"1.0" => "sql:Initial Installation",
"1.1" => "sql:Added modules positioning to sections",
"1.2" => "sql:Added permissions fields to section and section_content tables",
"1.3" => "sql:Added override_page_title to section_content table",
"1.4" => "sql:Added section_content_module_xref",
"1.5" => "sql:Added default_body_class field to section and body_class field to section_content",
"1.6" => "sql:Added section_type field to section table",
"1.7" => "sql:Increased size of permissions and default_permissions fields on section and section_content tables"
)

Definition at line 56 of file section_upgrade_manager.inc.


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