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
21
class
ArticleUpgradeManager
extends
UpgradeManager
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
32
function
ArticleUpgradeManager
()
33
{
34
$this->component_name =
"article"
;
35
36
// sets the sqlFile name according to default
37
parent::UpgradeManager();
38
}
39
}?>
ArticleUpgradeManager
Definition:
article_upgrade_manager.inc:22
ArticleUpgradeManager\ArticleUpgradeManager
ArticleUpgradeManager()
Definition:
article_upgrade_manager.inc:32
ArticleUpgradeManager\$updateMap
$updateMap
Definition:
article_upgrade_manager.inc:23
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
UpgradeManager
Definition:
upgrade_manager.inc:192
code
cms.sonjara.com
cms
components
article
article_upgrade_manager.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1