/** * This function returns a count of the number of saved responses to a survey * * @param mixed $surveyid Survey ID */ function getSavedCount($surveyid) { $surveyid = (int) $surveyid; return Saved_control::getCountOfAll($surveyid); }