Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 /**
  * Construct
  *
  * @var $default
  */
 public function __construct($default = false)
 {
     parent::__construct();
     if (is_array($default)) {
         $this->_vars = $default;
     }
 }
Ejemplo n.º 3
0
 /**
  * Set Parent
  */
 public function setParent(NyaaObject $o)
 {
     $this->setLogger($o->getLogger());
 }
Ejemplo n.º 4
0
 function __construct($fw)
 {
     $this->FW = $fw;
     parent::__construct();
 }
Ejemplo n.º 5
0
 /**
  * construct
  */
 public function __construct()
 {
     parent::__construct();
     $this->last = $this;
 }
Ejemplo n.º 6
0
 function __construct()
 {
     parent::__construct();
     $this->store = new NyaaStore();
 }