Esempio n. 1
0
 /**
  * Stuur de gegevens van het record naar de client.
  *
  * @throws Exception on failure
  *
  * @return Json
  */
 protected function read()
 {
     $instance = $this->load($_REQUEST[$this->primaryKey]);
     $data = $this->extract($instance, $this->maxRecursion);
     return Json::succes($data);
 }