CMS
Version 3.9
user_upgrade_manager.inc
Go to the documentation of this file.
1
<?php
6
/**************************************************************
7
8
Copyright (c) 2010 Sonjara, Inc
9
10
Permission is hereby granted, free of charge, to any person
11
obtaining a copy of this software and associated documentation
12
files (the "Software"), to deal in the Software without
13
restriction, including without limitation the rights to use,
14
copy, modify, merge, publish, distribute, sublicense, and/or sell
15
copies of the Software, and to permit persons to whom the
16
Software is furnished to do so, subject to the following
17
conditions:
18
19
The above copyright notice and this permission notice shall be
20
included in all copies or substantial portions of the Software.
21
22
Except as contained in this notice, the name(s) of the above
23
copyright holders shall not be used in advertising or otherwise
24
to promote the sale, use or other dealings in this Software
25
without prior written authorization.
26
27
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
29
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
32
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
33
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
34
OTHER DEALINGS IN THE SOFTWARE.
35
36
*****************************************************************/
37
38
/*
39
* Manage component upgrades/updates to User
40
* component.
41
*
42
* See parent class component/upgrade_manager.inc
43
* for instructions on usage.
44
*
45
* @author Janice Gallant for Sonjara, Inc.
46
*
47
* 6/2/2011
48
*
49
*/
50
51
Fakoli::using
(
"user"
,
"component"
);
52
53
class
UserUpgradeManager
extends
UpgradeManager
54
{
55
var
$updateMap
= array(
56
"1.0"
=>
"sql:Initial Installation"
57
);
58
59
function
UserUpgradeManager
()
60
{
61
$this->component_name =
"user"
;
62
63
// sets the sqlFile name according to default
64
parent::UpgradeManager();
65
}
66
}
67
?>
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
UserUpgradeManager
Definition:
user_upgrade_manager.inc:54
UserUpgradeManager\$updateMap
$updateMap
Definition:
user_upgrade_manager.inc:55
UserUpgradeManager\UserUpgradeManager
UserUpgradeManager()
Definition:
user_upgrade_manager.inc:59
code
cms.sonjara.com
cms
components
user
user_upgrade_manager.inc
Generated on Tue Mar 23 2021 15:36:15 for CMS by
1.9.1