1 package com.xaraya.wizard;
3 public final class XarayaModuleText {
4 final static StringBuffer xarinit = new StringBuffer(
7 " * File: $Id: XarayaModuleText.java,v 1.1 2003-02-04 22:23:09 choochter Exp $\n" +
9 " * Initialise <modname> Module\n" +
11 " * @package Xaraya eXtensible Management System\n" +
12 " * @copyright (C) 2002 by the Xaraya Development Team.\n" +
13 " * @license GPL <http://www.gnu.org/licenses/gpl.html>\n" +
14 " * @link http://www.xaraya.org\n" +
16 " * @subpackage <modname> Module\n" +
17 " * @author <author name> <<author email>>\n" +
21 " * initialise the <modname> module\n" +
23 " * @access public\n" +
25 " * @returns bool\n" +
26 " * @raise DATABASE_ERROR\n" +
28 "function <modname>_init()\n" +
34 " * upgrade the <modname> module from an old version\n" +
36 " * @access public\n" +
37 " * @param oldversion float \"Previous version upgrading from\"\n" +
38 " * @returns bool\n" +
39 " * @raise DATABASE_ERROR\n" +
41 "function <modname>_upgrade($oldversion)\n" +
47 " * remove the <modname> module\n" +
49 " * @access public\n" +
51 " * @returns bool\n" +
52 " * @raise DATABASE_ERROR\n" +
54 "function <modname>_delete()\n" +
60 final static StringBuffer xaradmin = new StringBuffer(
63 " * File: $Id: XarayaModuleText.java,v 1.1 2003-02-04 22:23:09 choochter Exp $\n" +
65 " * <modname> Admin Interface\n" +
67 " * @package Xaraya eXtensible Management System\n" +
68 " * @copyright (C) 2002 by the Xaraya Development Team.\n" +
69 " * @license GPL <http://www.gnu.org/licenses/gpl.html>\n" +
70 " * @link http://www.xaraya.org\n" +
72 " * @subpackage <modname> Module\n" +
73 " * @author <author name> <<author email>>\n" +
79 final static StringBuffer xaradminapi = new StringBuffer(
82 " * File: $Id: XarayaModuleText.java,v 1.1 2003-02-04 22:23:09 choochter Exp $\n" +
84 " * <modname> Admin API\n" +
86 " * @package Xaraya eXtensible Management System\n" +
87 " * @copyright (C) 2002 by the Xaraya Development Team.\n" +
88 " * @license GPL <http://www.gnu.org/licenses/gpl.html>\n" +
89 " * @link http://www.xaraya.org\n" +
91 " * @subpackage <modname> Module\n" +
92 " * @author <author name> <<author email>>\n" +
99 final static StringBuffer xaruser = new StringBuffer(
102 " * File: $Id: XarayaModuleText.java,v 1.1 2003-02-04 22:23:09 choochter Exp $\n" +
104 " * <modname> User Interface\n" +
106 " * @package Xaraya eXtensible Management System\n" +
107 " * @copyright (C) 2002 by the Xaraya Development Team.\n" +
108 " * @license GPL <http://www.gnu.org/licenses/gpl.html>\n" +
109 " * @link http://www.xaraya.org\n" +
111 " * @subpackage <modname> Module\n" +
112 " * @author <author name> <<author email>>\n" +
118 final static StringBuffer xaruserapi = new StringBuffer(
121 " * File: $Id: XarayaModuleText.java,v 1.1 2003-02-04 22:23:09 choochter Exp $\n" +
123 " * <modname> User API\n" +
125 " * @package Xaraya eXtensible Management System\n" +
126 " * @copyright (C) 2002 by the Xaraya Development Team.\n" +
127 " * @license GPL <http://www.gnu.org/licenses/gpl.html>\n" +
128 " * @link http://www.xaraya.org\n" +
130 " * @subpackage <modname> Module\n" +
131 " * @author <author name> <<author email>>\n" +
137 final static StringBuffer xarversion = new StringBuffer(
139 "$modversion['name'] = '<modname>';\n" +
140 "$modversion['id'] = '<id number>';\n" +
141 "$modversion['version'] = '<version>';\n" +
142 "$modversion['description'] = '<description>';\n" +
143 "$modversion['official'] = <official>;\n" +
144 "$modversion['author'] = '<author name>';\n" +
145 "$modversion['contact'] = '<author email>';\n" +
146 "$modversion['admin'] = <admin>;\n" +
147 "$modversion['user'] = <user>;\n" +
148 "$modversion['securityschema'] = array('<modname>::' => '::');\n" +
149 "$modversion['class'] = '<classification>';\n" +
150 "$modversion['category'] = '<category>';\n" +