## Class mr_controller_admin

Description

MR Controller for Administrative Settings Pages

- author: Mark Nielsen
- abstract:

Located in /controller/admin.php (line 42)

    mr_readonly
       |
       --mr_controller
          |
          --mr_controller_admin

Method Summary
void admin_setup ()
object get_context ()
moodle_url new_url ([array $extraparams = array()])
void setup ()
Variables

#### Inherited Variables

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

Methods
admin_setup (line 64)

Generate a call to admin_externalpage_setup()

One will most likely want to override this for specific actions.

- see: admin_externalpage_setup
- see: mr_controller::$action
- access: public

void admin_setup ()
get_context (line 73)

Get controller context

- access: public

object get_context ()

Redefinition of:

mr_controller::get_context()
  Get controller context

new_url (line 83)

Generate a new URL to this controller

- access: public

moodle_url new_url ([array $extraparams = array()])

- array $extraparams: Extra parameters to add to the URL

Redefinition of:

mr_controller::new_url()
  Generate a new URL to this controller

setup (line 50)

Controller setup

Setup specific to admin setting pages.

- access: public

void setup ()

Redefinition of:

mr_controller::setup()
  Controller setup

#### Inherited Methods

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