public function toArray() { $r = new Success(); $r->set("limit", $this->limit); $r->set("records", $this->records); $r->set("total", $this->total); $r->set("start", $this->start); return $r->toArray(); }