public function __construct()
 {
     //$this = new JSONAPIHelpers();
     $this->result = null;
     $this->provider = null;
     parent::init();
 }
Ejemplo n.º 2
0
 public function __construct(&$parent)
 {
     //$this = new JSONAPIHelpers();
     $this->result = null;
     // We will use this to set perms
     self::getImplementedMethods();
     $this->parent = $parent;
     $this->result =& $this->parent->result;
     $this->the_user = $this->parent->the_user;
     parent::init();
 }