value pairs. If $params is set * as null, all surveys will be returned * * @return array (referance) Array of matching surveys * {@getfields survey_get} * @access public */ function civicrm_api3_survey_get($params) { return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params); } /** * delete an existing survey * * This method is used to delete any existing survey. id of the group * to be deleted is required field in $params array * * @param array $params (reference) array containing id of the group * to be deleted * * @return array (referance) returns flag true if successfull, error * message otherwise * {@getfields survey_delete} * @access public */ function civicrm_api3_survey_delete($params) { return _civicrm_api3_basic_delete(_civicrm_api3_get_BAO(__FUNCTION__), $params); }