MR Controller for Blocks
Located in /controller/block.php (line 37)
mr_readonly | --mr_controller | --mr_controller_block
The block name
Block instance record
This is NOT an instance of your block, EG NOT: new block_blockname()
This can be false if not found in the course.
Inherited from mr_controller
mr_controller::$action
mr_controller::$component
mr_controller::$config
mr_controller::$heading
mr_controller::$helper
mr_controller::$identifier
mr_controller::$mroutput
mr_controller::$name
mr_controller::$output
mr_controller::$plugin
mr_controller::$tabs
mr_controller::$url
Get controller context
Get block context if we have block instance, otherwise use default context
Generate a new URL to this controller
Only include block instance ID if it is passed.
Controller setup
Set $blockname and $instance. For best results pass an instanceid URL param. Getting the instance is not required and is usually not necessary.
Inherited From mr_controller
mr_controller::__construct()
mr_controller::add_tabs()
mr_controller::get_config()
mr_controller::get_context()
mr_controller::init()
mr_controller::init_tabs()
mr_controller::new_url()
mr_controller::print_footer()
mr_controller::print_header()
mr_controller::render()
mr_controller::require_capability()
mr_controller::setup()
Inherited From mr_readonly
mr_readonly::__call()
Documentation generated on Thu, 28 Jun 2012 16:33:46 -0700 by phpDocumentor 1.4.3