/** * Get experiments in project * @param $projectId * @return array|null */ public static function get_experiments_in_project($projectId) { $experiments = array(); try { $experiments = Airavata::getAllExperimentsInProject($projectId); } catch (InvalidRequestException $ire) { Utilities::print_error_message('InvalidRequestException!<br><br>' . $ire->getMessage()); } catch (AiravataClientException $ace) { Utilities::print_error_message('AiravataClientException!<br><br>' . $ace->getMessage()); } catch (AiravataSystemException $ase) { Utilities::print_error_message('AiravataSystemException!<br><br>' . $ase->getMessage()); } catch (TTransportException $tte) { Utilities::print_error_message('TTransportException!<br><br>' . $tte->getMessage()); } return $experiments; }