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

Public Member Functions

 init ()
 instance_allow_multiple ()
 instance_can_be_hidden ()
 applicable_formats ()
 instance_allow_config ()
 instance_can_be_docked ()
 get_required_javascript ()
 get_content ()

Data Fields

 $blockname = null

Static Public Attributes

static $navcount

Protected Attributes

 $contentgenerated = false
 $docked = null

Detailed Description

Definition at line 37 of file block_settings.php.


Member Function Documentation

Set the applicable formats for this block to all

Returns:
array

Reimplemented from block_base.

Definition at line 77 of file block_settings.php.

Gets the content for this block by grabbing it from $this->page

Reimplemented from block_base.

Definition at line 103 of file block_settings.php.

Here is the call graph for this function:

Reimplemented from block_base.

Definition at line 93 of file block_settings.php.

Here is the call graph for this function:

init ( )

Set the initial properties for the block

Definition at line 50 of file block_settings.php.

Allow the user to configure a block instance

Returns:
bool Returns true

Reimplemented from block_base.

Definition at line 85 of file block_settings.php.

All multiple instances of this block

Returns:
bool Returns true

Reimplemented from block_base.

Definition at line 59 of file block_settings.php.

Can be overridden by the block to prevent the block from being dockable.

Returns:
bool

Reimplemented from block_base.

Definition at line 89 of file block_settings.php.

The settings block cannot be hidden by default as it is integral to the navigation of Moodle.

Returns:
false

Reimplemented from block_base.

Definition at line 69 of file block_settings.php.


Field Documentation

$blockname = null

Definition at line 41 of file block_settings.php.

$contentgenerated = false [protected]

Definition at line 43 of file block_settings.php.

$docked = null [protected]

Definition at line 45 of file block_settings.php.

$navcount [static]

Definition at line 40 of file block_settings.php.


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