Exemplo n.º 1
0
 public function __construct($config, $socket)
 {
     if (!isset($config['plugins']['autoOp'])) {
         $config['plugins']['autoOp'] = array();
     }
     parent::__construct($config, $socket);
     $this->autoOpConfig = $config['plugins']['autoOp'];
 }
Exemplo n.º 2
0
 public function __construct($config, $socket)
 {
     if (!isset($config['plugins']['rssReader'])) {
         $config['plugins']['rssReader'] = array();
     }
     parent::__construct($config, $socket);
     $this->todo = array();
     $this->rssConfig = $config['plugins']['rssReader'];
     $this->started = time();
     $this->controlFeedDB();
     $this->cleanFeedDB();
 }
Exemplo n.º 3
0
 public function __construct($config, $socket)
 {
     if (!isset($config['plugins']['fileReader']['channel'])) {
         $config['plugins']['fileReader'] = array('channel' => '');
     }
     $this->channel = $config['plugins']['fileReader']['channel'];
     parent::__construct($config, $socket);
     $this->lastCheck = 0;
     $this->startTime = time();
     if (!is_file($this->db)) {
         touch($this->db);
     }
 }
 public function __construct($config, $socket)
 {
     parent::__construct($config, $socket);
     $this->last_check = 0;
 }
Exemplo n.º 5
0
 public function __construct($config, $socket)
 {
     parent::__construct($config, $socket);
     $this->startTime = new DateTime();
 }