Example #1
0
 /**
  * Constructor
  *
  * Saves the start time for use later.
  *
  * @param JabberBot_Bot $bot
  *
  * @return void
  */
 public function __construct($bot)
 {
     parent::__construct($bot);
     $this->_startTime = time();
 }
Example #2
0
 /**
  * Constructior
  * @param JabberBot_Bot $bot
  *
  * @return void
  */
 public function __construct($bot)
 {
     parent::__construct($bot);
     $this->_db = new JabberBot_Db('acl');
 }
 /**
  * Constructor
  *
  * Set the default state to active
  *
  * @param  JabberBot_Bot $bot Backlink to owning bot object
  *
  * @return void
  */
 public function __construct($bot)
 {
     parent::__construct($bot);
     $this->_bolActive = true;
 }