Exemplo n.º 1
0
 public function put()
 {
     parse_str(file_get_contents("php://input"), $put);
     $this->_filter = array('id' => $put['id']);
     $this->_data = array("status" => "readed");
     echo json_encode(parent::put());
 }