Index: trunk/phase3/includes/installer/OracleInstaller.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | '_InstallPassword' => '', |
17 | 17 | ); |
18 | 18 | |
19 | | - function getName() { |
| 19 | + public function getName() { |
20 | 20 | return 'oracle'; |
21 | 21 | } |
22 | 22 | |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | return self::checkExtension( 'oci8' ); |
25 | 25 | } |
26 | 26 | |
27 | | - function getConnectForm() { |
| 27 | + public function getConnectForm() { |
28 | 28 | return |
29 | 29 | Xml::openElement( 'fieldset' ) . |
30 | 30 | Xml::element( 'legend', array(), wfMsg( 'config-db-wiki-settings' ) ) . |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | $this->getInstallUserBox(); |
37 | 37 | } |
38 | 38 | |
39 | | - function submitConnectForm() { |
| 39 | + public function submitConnectForm() { |
40 | 40 | // Get variables from the request |
41 | 41 | $newValues = $this->setVarsFromRequest( array( 'wgDBname', 'wgDBprefix' ) ); |
42 | 42 | |
— | — | @@ -77,20 +77,31 @@ |
78 | 78 | } |
79 | 79 | |
80 | 80 | |
81 | | - function getSettingsForm() {} |
| 81 | + public function getSettingsForm() { |
| 82 | + // TODO |
| 83 | + } |
82 | 84 | |
83 | | - function submitSettingsForm() {} |
| 85 | + public function submitSettingsForm() { |
| 86 | + // TODO |
| 87 | + } |
84 | 88 | |
85 | | - function getConnection() {} |
| 89 | + public function getConnection() { |
| 90 | + // TODO |
| 91 | + } |
86 | 92 | |
87 | | - function setupDatabase() {} |
| 93 | + public function setupDatabase() { |
| 94 | + // TODO |
| 95 | + } |
88 | 96 | |
89 | | - function createTables() {} |
| 97 | + public function createTables() { |
| 98 | + // TODO |
| 99 | + } |
90 | 100 | |
91 | | - function getLocalSettings() { |
| 101 | + public function getLocalSettings() { |
92 | 102 | $prefix = $this->getVar( 'wgDBprefix' ); |
93 | 103 | return |
94 | 104 | "# Oracle specific settings |
95 | 105 | \$wgDBprefix = \"{$prefix}\";"; |
96 | 106 | } |
97 | | -} |
| 107 | + |
| 108 | +} |
\ No newline at end of file |