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


Public Member Functions | |
| init () | |
| specialization () | |
| applicable_formats () | |
| instance_allow_multiple () | |
| get_content () | |
Definition at line 27 of file block_private_files.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 36 of file block_private_files.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 44 of file block_private_files.php.

| init | ( | ) |
Definition at line 29 of file block_private_files.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 40 of file block_private_files.php.
| specialization | ( | ) |
This function is called on your subclass right after an instance is loaded Use this function to act on instance data just after it's loaded and before anything else is done For instance: if your block will have different title's depending on location (site, course, blog, etc)
Reimplemented from block_base.
Definition at line 33 of file block_private_files.php.