[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/settings/ -> block_settings.php (summary)

This file contains classes used to manage the navigation structures in Moodle and was introduced as part of the changes occuring in Moodle 2.0

Copyright: 2009 Sam Hemelryk
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 163 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

block_settings:: (9 methods):
  init()
  instance_allow_multiple()
  instance_can_be_hidden()
  applicable_formats()
  instance_allow_config()
  instance_can_be_docked()
  get_required_javascript()
  get_content()
  get_aria_role()


Class: block_settings  - X-Ref

The settings navigation tree block class

Used to produce the settings navigation block new to Moodle 2.0

init()   X-Ref
Set the initial properties for the block


instance_allow_multiple()   X-Ref
All multiple instances of this block

return: bool Returns true

instance_can_be_hidden()   X-Ref
The settings block cannot be hidden by default as it is integral to
the navigation of Moodle.

return: false

applicable_formats()   X-Ref
Set the applicable formats for this block to all

return: array

instance_allow_config()   X-Ref
Allow the user to configure a block instance

return: bool Returns true

instance_can_be_docked()   X-Ref
No description

get_required_javascript()   X-Ref
No description

get_content()   X-Ref
Gets the content for this block by grabbing it from $this->page


get_aria_role()   X-Ref
Returns the role that best describes the settings block.

return: string 'navigation'



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1