function getApprovedDeals() { $controllerDeal = new ControllerDeal(); $array = $controllerDeal->getApprovedDeals(); return $array; }