Todo List
Include/require it in your code to use its functionality.
void attach_survey( $surveyid, $newsurveyid, $db_name, $curr_dbname)
void create_course_survey_rel( $cidReq, $survey_id, $table_course, $table_course_survey_rel)
void create_group( $survey_id, $group_title, $introduction, $table_group)
void create_question( $gid, $surveyid, $qtype, $caption, $alignment, $answers, $open_ans, $answerT, $answerD, $rating, $curr_dbname)
void create_survey( $surveycode, $surveytitle, $surveysubtitle, $author, $survey_language, $availablefrom, $availabletill, $isshare, $surveytemplate, $surveyintroduction, $surveythanks, $table_survey, $table_group)
void create_survey_attach( $surveycode, $surveytitle, $surveysubtitle, $author, $survey_language, $availablefrom, $availabletill, $isshare, $surveytemplate, $surveyintroduction, $surveythanks, $table_survey, $table_group)
void create_survey_in_another_language( $id, $lang)
void delete_group( unknown_type $group_id, unknown_type $curr_dbname)
void delete_survey( unknown_type $survey_id)
void display_imported_group( $sid, $table_group, $table_question)
void display_sortable_table( unknown_type $groupid, unknown_type $surveyid, unknown_type $curr_dbname, unknown_type $header, unknown_type $content, [unknown_type $sorting_options = array ()], [unknown_type $paging_options = array ()], [unknown_type $query_vars = null])
void getUserAnswersDetails( $id_userAnswers, [ $params = ''])
void get_all_datas( $id)
void get_author( $db_name, $survey_id)
void get_data( $id, $field)
void get_groupname( $db_name, $gid)
void get_questions_move( $curr_dbname)
void get_question_data( $qid, $curr_dbname)
void get_question_type( $questionid)
unknown get_status( )
void get_surveyid( $db_name, $group_id)
void get_surveyname( $db_name, $sid)
void get_surveyname_display( $sid)
void get_survey_author( $authorid)
void get_survey_code( $table_survey, $survey_code)
void get_survey_list( )
void import_existing_question( $surveyid, $qids, $table_group, $table_question, $yes)
void import_group( $sid, $gids, $db_name, $curr_dbname)
void import_question( $surveyid, $qids, $table_group, $table_question, $db_name, $cidReq, $yes)
void import_questions( $import_type, $ids)
void insert_existing_groups( $sid, $gids, $table_group, $table_question)
void insert_groups( $sid, $newgid, $gids, $table_group, $table_question)
void insert_into_group( $survey_id, $group_title, $introduction, $tb)
void insert_old_groups( $sid, $gids, $table_group, $table_question, $db_name, $cidReq)
void insert_questions( $sid, $newgid, $gid, $table_group)
void listAnswers( $qid)
void listGroups( $id_survey, [ $fields = '*'])
void listQuestions( $id_survey, [ $fields = '*'])
void listUsers( $survey_id, $dbname, [ $fields = 'id, user_id, firstname, lastname, email, organization'])
void move_question( $direction, $qid, $sort, $curr_dbname)
void no_of_question( $db_name, $gid)
void pick_author( $survey_id)
void pick_surveyname( $sid)
void question_import( $surveyid, $qids, $db_name, $curr_dbname)
void ques_id_group_name( $qid)
void select_group_list( $survey_id, [ $seleced_groupid = ''], [ $extra_script = ''])
void select_survey_list( [ $seleced_surveyid = ''], [ $extra_script = ''])
void sort_table( $data, [ $column = 0], [ $direction = SORT_ASC], [ $type = SORT_REGULAR])
void update_group( $groupid, $surveyid, $groupnamme, $introduction, $curr_dbname)
void update_question( $qid, $qtype, $caption, $alignment, $answers, $open_ans, $curr_dbname)
void update_survey( $surveyid, $surveycode, $surveytitle, $surveysubtitle, $author, $survey_language, $availablefrom, $availabletill, $isshare, $surveytemplate, $surveyintroduction, $surveythanks, $cidReq, $table_course)