|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| init () | |
| applicable_formats () | |
| get_owning_quiz () | |
| instance_config_save ($data) | |
| get_content () | |
| instance_allow_multiple () | |
Definition at line 50 of file block_quiz_results.php.
Which page types this block may appear on.
The information returned here is processed by the blocks_name_allowed_in_format() function. Look there if you need to know exactly how this works.
Default case: everything except mod and tag.
Reimplemented from block_base.
Definition at line 55 of file block_quiz_results.php.
| get_content | ( | ) |
Parent class version of this function simply returns NULL This should be implemented by the derived class to return the content object.
Reimplemented from block_base.
Definition at line 86 of file block_quiz_results.php.

| get_owning_quiz | ( | ) |
If this block belongs to a quiz context, then return that quiz's id. Otherwise, return 0.
Definition at line 64 of file block_quiz_results.php.


| init | ( | ) |
Definition at line 51 of file block_quiz_results.php.
Are you going to allow multiple instances of each block? If yes, then it is assumed that the block WILL USE per-instance configuration
Reimplemented from block_base.
Definition at line 474 of file block_quiz_results.php.
| instance_config_save | ( | $ | data | ) |