Another year is about to end... So we have to update these damn copyright information :P
[PHP-P10.git] / BotLoader / Bot.class.php
index b617193cfac36a748d9b2b4aee7a88e597c0d5ac..d9546485430daa114ef433fdfdce99c0051c99bd 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /******************************* PHP-P10 v2 *****************************
- * Copyright (C) 2011  Philipp Kreil (pk910)                            *
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)                       *
  *                                                                      *
  * This program is free software: you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -24,6 +24,7 @@
  */
 
 class Bot {
+       private $db_section = NULL;
        
        public function load($uplink, $oldDatas = null) {
        
@@ -44,7 +45,14 @@ class Bot {
        public function readDB($value) {
        
        }
-
+       
+       public function getDBSection() {
+               return $this->db_section;
+       }
+       
+       public function setDBSection($section) {
+               $this->db_section = $section;
+       }
 }
 
 ?>
\ No newline at end of file