Esempio n. 1
0
 /**
  * @param string $name
  * @param array  $arguments
  * @return mixed
  */
 public function __call($name, $arguments)
 {
     if ($this->_helperBroker === null) {
         throw new Vmvc_Exception('HelperBroker is not set.');
     }
     return $this->_helperBroker->callAlias($name, $arguments);
 }
Esempio n. 2
0
 /**
  * @depends testSetHelper
  */
 public function testGetHelper(Vmvc_HelperBroker $object)
 {
     $helper = $object->getHelper('tEst');
     $this->assertInstanceOf('ArrayObject', $helper);
 }