json_record[$query]) ? $this->json_record[$query] : ''; } protected function onRecordLoaded() { $this->json_record = json_decode($this->record, true); } public function record() { return $this->json_record; } }