projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another year is about to end... So we have to update these damn copyright information :P
[PHP-P10.git]
/
BotLoader
/
Bot.class.php
diff --git
a/BotLoader/Bot.class.php
b/BotLoader/Bot.class.php
index b617193cfac36a748d9b2b4aee7a88e597c0d5ac..d9546485430daa114ef433fdfdce99c0051c99bd 100644
(file)
--- a/
BotLoader/Bot.class.php
+++ b/
BotLoader/Bot.class.php
@@
-1,6
+1,6
@@
<?php
/******************************* PHP-P10 v2 *****************************
<?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 *
* *
* 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 {
*/
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