The web based syslog https://lggr.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
2.0KB

  1. <?php
  2. abstract class AbstractConfig {
  3. protected $DBUSER;
  4. protected $DBPWD;
  5. protected $DBNAME;
  6. protected $URLBOOTSTRAP;
  7. protected $URLJQUERY;
  8. protected $URLJQUERYUI;
  9. protected $URLJATIMEPICKER;
  10. protected $URLCHARTJS;
  11. protected $URLJQCLOUD;
  12. protected $LOCALE;
  13. final public function getDbUser() {
  14. return $this->DBUSER;
  15. }
  16. final public function getDbPwd() {
  17. return $this->DBPWD;
  18. }
  19. final public function getDbName() {
  20. return $this->DBNAME;
  21. }
  22. final public function getUrlBootstrap() {
  23. return $this->URLBOOTSTRAP;
  24. }
  25. final public function getUrlJquery() {
  26. return $this->URLJQUERY;
  27. }
  28. final public function getUrlJqueryui() {
  29. return $this->URLJQUERYUI;
  30. }
  31. final public function getUrlJAtimepicker() {
  32. return $this->URLJATIMEPICKER;
  33. }
  34. final public function getUrlChartjs() {
  35. return $this->URLCHARTJS;
  36. }
  37. final public function getUrlJQCloud() {
  38. return $this->URLJQCLOUD;
  39. }
  40. final public function getLocale() {
  41. return $this->LOCALE;
  42. }
  43. protected function setDbUser($s) {
  44. $this->DBUSER = $s;
  45. }
  46. protected function setDbPwd($s) {
  47. $this->DBPWD = $s;
  48. }
  49. protected function setDbname($s) {
  50. $this->DBNAME = $s;
  51. }
  52. protected function setUrlBootstrap($s) {
  53. $this->URLBOOTSTRAP = $s;
  54. }
  55. protected function setUrlJquery($s) {
  56. $this->URLJQUERY = $s;
  57. }
  58. protected function setUrlJqueryui($s) {
  59. $this->URLJQUERYUI = $s;
  60. }
  61. protected function setUrlJAtimepicker($s) {
  62. $this->URLJATIMEPICKER = $s;
  63. }
  64. protected function setUrlChartjs($s) {
  65. $this->URLCHARTJS = $s;
  66. }
  67. protected function setUrlJQCloud($s) {
  68. $this->URLJQCLOUD = $s;
  69. }
  70. protected function setLocale($s) {
  71. $this->LOCALE = $s;
  72. }
  73. } // class
Social stuff:
Mastodon