Exemplo n.º 1
0
 public function before()
 {
     parent::before();
     $tk = $this->request->query('tk');
     if (!empty($tk)) {
         $this->user = ORM::factory('V1_UserToken')->getUser($tk);
     }
     $this->data = json_decode($this->request->body(), $this->assoc);
 }
Exemplo n.º 2
0
 public function before()
 {
     parent::before();
 }