tce__show__all__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_show_all_questions.php File Reference

Namespaces

 com\tecnick\tcexam\admin
 TCExam Administration Area.
 

Functions

 F_show_select_questions ($wherequery, $subject_module_id, $subject_id, $order_field, $orderdir, $firstrow, $rowsperpage, $hide_answers=false)
 

Variables

 $pagelevel = K_AUTH_ADMIN_RESULTS
 
 $thispage_title = $l[’t_questions_list’]
 
 $wherequery =”
 
 $order_field = ‘question_enabled DESC, question_position,’
 
if(K_DATABASE_TYPE== ‘ORACLE’) else
 
if(!F_isAuthorizedUser(K_TABLE_MODULES, ‘module_id’, $subject_module_id, ‘module_user_id’)) if(isset($subject_id)) if((isset($changemodule) AND($changemodule > 0)) OR(!(isset($subject_id) AND($subject_id > 0)))) if (isset($menu_mode) AND($menu_mode== ‘update’) AND isset($menu_action) AND!empty($menu_action))
 
 $sql = F_select_modules_sql()
 
 $qtype = array(’<acronym class="offbox" title="’.$l[‘w_single_answer’].’">S</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_multiple_answers’].’">M</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_free_answer’].’">T</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_ordering_answer’].’">O</acronym>’)
 
 $qstat = “
 
 $nqsum = 0
 

Detailed Description

Display all questions grouped by topic.

Function Documentation

F_show_select_questions (   $wherequery,
  $subject_module_id,
  $subject_id,
  $order_field,
  $orderdir,
  $firstrow,
  $rowsperpage,
  $hide_answers = false 
)

Display a list of selected questions.

Author
Nicola Asuni
Since
2005-07-06
Parameters
$wherequery(string) question selection query
$subject_module_id(string) module ID
$subject_id(string) topic ID
$order_field(string) order by column name
$orderdir(int) oreder direction
$firstrow(int) number of first row to display
$rowsperpage(int) number of rows per page
$hide_answers(boolean) if true hide answers
Returns
false in case of empty database, true otherwise

Variable Documentation

$nqsum = 0

$order_field = ‘question_enabled DESC, question_position,’

$pagelevel = K_AUTH_ADMIN_RESULTS

$qstat = “

$qtype = array(’<acronym class="offbox" title="’.$l[‘w_single_answer’].’">S</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_multiple_answers’].’">M</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_free_answer’].’">T</acronym>’, ‘<acronym class="offbox" title="’.$l[‘w_ordering_answer’].’">O</acronym>’)

$thispage_title = $l[’t_questions_list’]

$wherequery =”

if ($r=F_db_query($sql, $db)) else
Initial value:
{
$order_field .= ' question_description'
$order_field
Definition: tce_show_all_questions.php:49
if(isset($subject_id) AND($subject_id > 0))

 

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