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

Public Member Functions

 TaxonomyUpgradeManager ()
 
- 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 49 of file taxonomy_upgrade_manager.inc.

Member Function Documentation

◆ TaxonomyUpgradeManager()

TaxonomyUpgradeManager::TaxonomyUpgradeManager ( )

Definition at line 67 of file taxonomy_upgrade_manager.inc.

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

Member Data Documentation

◆ $updateMap

TaxonomyUpgradeManager::$updateMap
Initial value:
= array(
"1.0" => "sql:Initial schema creation",
"1.1" => "sql:Upgrade taxonomy table to support being an enumerable, publishable feature",
"1.2" => "sql:Updated taxonomy_term table to link it to taxonomy (doh!)",
"1.3" => "sql:Added taxonomy_id foreign key to taxonomy_term_association table",
"1.4" => "sql:Change column name from `primary_key` to `id` in taxonomy_term_association table to avoid naming conflict",
"1.5" => "sql:Change description to definition in taxonomy_term",
"1.6" => "sql:Added taxonomy_term_association_summary view to efficiently query term_id summaries for items",
"1.7" => "sql:Added enable_facet_filter flag to taxonomy table",
"1.8" => "sql:Added binding_target and binding tables",
"1.9" => "sql:Added indexes for binding table",
"2.0" => "sql:Added binding_summary view",
"2.1" => "sql:Additional index on taxonomy_term_association to improve performance",
"2.2" => "sql:Added sort_order to taxonomy_term table"
)

Definition at line 51 of file taxonomy_upgrade_manager.inc.


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