Example #1
0
 /**
  * For Templater Vars
  */
 function __call($func, $args)
 {
     if (in_array($func, array('get', 'getRef', 'set', 'dump'))) {
         return call_user_func_array(array($this->_store, $func), $args);
     }
     parent::__call($func, $args);
 }
Example #2
0
 /**
  * Construct
  *
  * @var $default
  */
 public function __construct($default = false)
 {
     parent::__construct();
     if (is_array($default)) {
         $this->_vars = $default;
     }
 }
Example #3
0
 /**
  * Set Parent
  */
 public function setParent(NyaaObject $o)
 {
     $this->setLogger($o->getLogger());
 }
Example #4
0
 function __construct($fw)
 {
     $this->FW = $fw;
     parent::__construct();
 }
Example #5
0
 /**
  * construct
  */
 public function __construct()
 {
     parent::__construct();
     $this->last = $this;
 }
Example #6
0
 function __construct()
 {
     parent::__construct();
     $this->store = new NyaaStore();
 }