/** * Load JSON data in to the ORM */ private function loadData() { if ($lstrData = file_get_contents(JSON_DATA_FILE)) { ORM::setData($lstrData); } }