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

Public Member Functions

 ToolHintsUpgradeManager ()
 
- 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 19 of file tool_hints_upgrade_manager.inc.

Member Function Documentation

◆ ToolHintsUpgradeManager()

ToolHintsUpgradeManager::ToolHintsUpgradeManager ( )

Definition at line 27 of file tool_hints_upgrade_manager.inc.

28  {
29  $this->component_name = "tool_hints";
30 
31  // sets the sqlFile name according to default
32  parent::UpgradeManager();
33  }

Member Data Documentation

◆ $updateMap

ToolHintsUpgradeManager::$updateMap
Initial value:
= array(
"1.0" => "sql:Create tool_hint and tool_hint_user_status tables",
"1.1" => "sql:Added can_be_hidden flag to tool_hint table",
"1.2" => "sql:Added read_access parameter to tool_hint table"
)

Definition at line 21 of file tool_hints_upgrade_manager.inc.


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