Example #1
0
 public function helperBroker()
 {
     if ($this->_helperBroker === null) {
         $this->_helperBroker = Helper_Broker::newInstance($this);
     }
     return $this->_helperBroker;
 }
Example #2
0
 public function testPrefixes2()
 {
     $this->assertEquals(array("JooS"), $this->_broker->getPrefixes());
     $this->_broker->prependPrefix("JooS\\Helper");
     $this->assertEquals(array("JooS\\Helper", "JooS"), $this->_broker->getPrefixes());
 }