function getAllData() { $dataHandle = new DataHandle(); $result = $dataHandle->getAllData(); $dataHandle->closeDB(); return $result; }