projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed Bot database handling
[PHP-P10.git]
/
BotLoader
/
Bot.class.php
diff --git
a/BotLoader/Bot.class.php
b/BotLoader/Bot.class.php
index b617193cfac36a748d9b2b4aee7a88e597c0d5ac..303163d40d8832b5add7fc5344dc0d078a022468 100644
(file)
--- a/
BotLoader/Bot.class.php
+++ b/
BotLoader/Bot.class.php
@@
-24,6
+24,7
@@
*/
class Bot {
*/
class Bot {
+ private $db_section = NULL;
public function load($uplink, $oldDatas = null) {
public function load($uplink, $oldDatas = null) {
@@
-44,7
+45,14
@@
class Bot {
public function readDB($value) {
}
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
}
?>
\ No newline at end of file