tce__functions__questions_8php

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.
tce_functions_questions.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Functions

 F_question_set_enabled ($question_id, $enabled=true)
 
 F_question_get_position ($question_id)
 
 F_question_get_data ($question_id)
 
 F_question_delete ($question_id, $subject_id)
 
 F_question_copy ($question_id, $new_subject_id)
 

Detailed Description

Functions to manipulate questions.

Function Documentation

F_question_copy (   $question_id,
  $new_subject_id 
)

Copy selected question to another topic

Author
Nicola Asuni
Since
2008-11-26
Parameters
$question_id(int) question ID
$new_subject_id(int) new subject ID

F_question_delete (   $question_id,
  $subject_id 
)

Delete selected question (or disable it if used)

Author
Nicola Asuni
Since
2008-11-26
Parameters
$question_id(int) question ID
$subject_id(int) subject ID

F_question_get_data (   $question_id)

Get question data

Author
Nicola Asuni
Since
2008-11-26
Parameters
$question_id(int) question ID
Returns
array containing selected question data, false in case of error

F_question_get_position (   $question_id)

Get question position

Author
Nicola Asuni
Since
2008-11-26
Parameters
$question_id(int) question ID
Returns
int question position

F_question_set_enabled (   $question_id,
  $enabled = true 
)

Enable/Disable selected question

Author
Nicola Asuni
Since
2008-11-26
Parameters
$question_id(int) question ID
$enabled(boolean) if true enables question, false otherwise

 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy