php class SystemComponent var settings function getSettings settings s

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
<?php
class SystemComponent {
var $settings;
function getSettings() {
$settings['siteDir'] = '';
$settings['dbhost'] = 'localhost';
$settings['dbusername'] = 'baik';
$settings['dbpassword'] = '0hr4n4b41k4l';
$settings['dbname'] = 'baik';
return $settings;
}
}
?>