public static function RetrieveWidgetsTypes() { $response = new simpleResponse(); try { $account_id = 0; // include './inc/incWebServiceSessionValidation.php'; $widgettypes = da_widgets::GetWidgetsTypes(); $response->status = "OK"; $response->message = "SUCCESS"; $response->data = $widgettypes; } catch (Exception $ex) { $response->status = "EXCEPTION"; $response->message = $ex->getMessage(); } return $response; }