Example #1
0
 /**
  * Private contructor
  */
 private function __construct()
 {
     $this->clearPrefixes();
     $this->appendPrefix("JooS");
     $prefixes = Config::Helper_Broker()->prefixes();
     if (is_array($prefixes)) {
         foreach ($prefixes as $prefix) {
             $this->appendPrefix($prefix);
         }
     }
 }
Example #2
0
 protected function tearDown()
 {
     $this->_broker = null;
     if (is_null($this->_prefixes)) {
         unset(Config::Helper_Broker()->prefixes);
     } else {
         Config::Helper_Broker()->prefixes = $this->_prefixes;
     }
 }