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

Public Member Functions

 __construct ($context, $roleid)
 save_changes ()

Protected Member Functions

 get_name_field ($id)
 get_shortname_field ($id)
 get_description_field ($id)
 get_archetype_field ($id)
 print_show_hide_advanced_button ()
 add_permission_cells ($capability)

Detailed Description

Definition at line 853 of file lib.php.


Constructor & Destructor Documentation

__construct ( context,
id 
)

Constructor

Parameters:
object$contextthe context this table relates to.
string$idwhat to put in the id="" attribute.

Reimplemented from define_role_table_advanced.

Definition at line 854 of file lib.php.


Member Function Documentation

add_permission_cells ( capability) [protected]

Reimplemented from define_role_table_advanced.

Definition at line 888 of file lib.php.

get_archetype_field ( id) [protected]

Reimplemented from define_role_table_advanced.

Definition at line 876 of file lib.php.

get_description_field ( id) [protected]

Reimplemented from define_role_table_advanced.

Definition at line 872 of file lib.php.

Here is the call graph for this function:

get_name_field ( id) [protected]

Reimplemented from define_role_table_advanced.

Definition at line 864 of file lib.php.

Here is the call graph for this function:

get_shortname_field ( id) [protected]

Reimplemented from define_role_table_advanced.

Definition at line 868 of file lib.php.

Reimplemented from define_role_table_advanced.

Definition at line 884 of file lib.php.

Save the new values of any permissions that have been changed.

Set the permissions.

Force accessinfo refresh for users visiting this context.

Reimplemented from define_role_table_advanced.

Definition at line 860 of file lib.php.


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