Moodle  2.2.1
http://www.collinsharper.com
block_section_links Class Reference
Inheritance diagram for block_section_links:
Collaboration diagram for block_section_links:

Public Member Functions

 init ()
 instance_config ($instance)
 applicable_formats ()
 get_content ()
 instance_allow_config ()
 before_delete ()
 has_config ()

Detailed Description

Definition at line 25 of file block_section_links.php.


Member Function Documentation

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.

Returns:
array page-type prefix => true/false.

Reimplemented from block_base.

Definition at line 47 of file block_section_links.php.

Function that can be overridden to do extra cleanup before the database tables are deleted. (Called once per block, not per instance!)

Reimplemented from block_base.

Definition at line 157 of file block_section_links.php.

Parent class version of this function simply returns NULL This should be implemented by the derived class to return the content object.

Returns:
stdObject

Reimplemented from block_base.

Definition at line 51 of file block_section_links.php.

Here is the call graph for this function:

Subclasses should override this and return true if the subclass block has a config_global.html file.

Returns:
boolean

Reimplemented from block_base.

Definition at line 163 of file block_section_links.php.

init ( )

Definition at line 27 of file block_section_links.php.

Has instance config

Returns:
boolean

Reimplemented from block_base.

Definition at line 154 of file block_section_links.php.

instance_config ( instance)

Definition at line 31 of file block_section_links.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations