Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/qbehaviours.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Functions

 question_behaviour_enable_disable_icons ($behaviour, $enabled)
 question_behaviour_icon_html ($action, $behaviour, $icon, $alt, $tip)

Variables

 $systemcontext = get_context_instance(CONTEXT_SYSTEM)
 $thispageurl = new moodle_url('/admin/qbehaviours.php')
 $behaviours = get_plugin_list('qbehaviour')
 $pluginmanager = plugin_manager::instance()
 $counts
 $needed = array()
 $archetypal = array()
foreach($behaviours as
$behaviour=> $notused) foreach($counts
as $behaviour=> $count) 
$needed ['missing'] = true
 $config = get_config('question')
 $sortedbehaviours = array()
 $table = new flexible_table('qbehaviouradmintable')

Function Documentation

question_behaviour_enable_disable_icons ( behaviour,
enabled 
)

Definition at line 285 of file qbehaviours.php.

Here is the call graph for this function:

question_behaviour_icon_html ( action,
behaviour,
icon,
alt,
tip 
)

Definition at line 295 of file qbehaviours.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

$archetypal = array()

Definition at line 50 of file qbehaviours.php.

$behaviours = get_plugin_list('qbehaviour')

Definition at line 42 of file qbehaviours.php.

$config = get_config('question')

Definition at line 67 of file qbehaviours.php.

$counts
Initial value:
 $DB->get_records_sql_menu("
        SELECT behaviour, COUNT(1)
        FROM {question_attempts} GROUP BY behaviour")

Definition at line 46 of file qbehaviours.php.

$needed = array()

Definition at line 49 of file qbehaviours.php.

foreach ($behaviours as $behaviour=> $notused) foreach ($counts as $behaviour=> $count) $needed['missing'] = true

Definition at line 64 of file qbehaviours.php.

$pluginmanager = plugin_manager::instance()

Definition at line 43 of file qbehaviours.php.

$sortedbehaviours = array()

Definition at line 68 of file qbehaviours.php.

Definition at line 36 of file qbehaviours.php.

$table = new flexible_table('qbehaviouradmintable')

Definition at line 210 of file qbehaviours.php.

$thispageurl = new moodle_url('/admin/qbehaviours.php')

Definition at line 40 of file qbehaviours.php.

 All Data Structures Namespaces Files Functions Variables Enumerations