CMS  Version 3.9
article_upgrade_manager.inc
Go to the documentation of this file.
1 <?php
7 /*
8  * Manage Article component upgrades/updates.
9  *
10  * See parent class component/upgrade_manager.inc
11  * for instructions on usage.
12  *
13  * @author Janice Gallant for Sonjara, Inc.
14  *
15  * 6/2/2011
16  *
17  */
18 
19 Fakoli::using("article", "component");
20 
22 {
23  var $updateMap = array(
24  "1.0" => "sql:Initial Installation",
25  "1.1" => "sql:Added sort_order field to article table",
26  "1.2" => "sql:Added publish_date field to article table and set publish_date equal to create_date",
27  "1.3" => "sql:Added publication field to article table",
28  "1.4" => "sql:Added post_date field to article table",
29  "1.5" => "sql:Added identifier field to article table"
30  );
31 
33  {
34  $this->component_name = "article";
35 
36  // sets the sqlFile name according to default
37  parent::UpgradeManager();
38  }
39 }?>
ArticleUpgradeManager()
$updateMap
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116