Class Module_admin_permissions

Description

Module page class.

Located in /adminzone/pages/modules/admin_permissions.php (line 24)


	
			
Method Summary
tempcode absorb ()
tempcode choose_zone (tempcode $title)
?array get_entry_points ()
?array info ()
void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
tempcode interface_keys_access ()
tempcode interface_page_access ()
tempcode run ()
tempcode set_keys_access ()
tempcode set_page_access ()
tempcode tree_editor ()
void uninstall ()
tempcode _absorb ()
tempcode _access_header (array $admin_groups, array $groups)
Methods
absorb (line 271)

The UI to absorb usergroup permissions.

  • return: The UI
tempcode absorb ()
choose_zone (line 433)

The UI to choose a zone to edit permissions for pages in.

  • return: The UI
tempcode choose_zone (tempcode $title)
  • tempcode $title: The title to use (output of get_page_title)
get_entry_points (line 230)

Standard modular entry-point finder function.

  • return: A map of entry points (type-code=>language-code) (NULL: disabled).
?array get_entry_points ()
info (line 32)

Standard modular info function.

  • return: Map of module info (NULL: module is disabled).
?array info ()
install (line 90)

Standard modular install function.

void install ([?integer $upgrade_from = NULL], [?integer $upgrade_from_hack = NULL])
  • ?integer $upgrade_from: What version we're upgrading from (NULL: new install)
  • ?integer $upgrade_from_hack: What hack version we're upgrading from (NULL: new-install/not-upgrading-from-a-hacked-version)
interface_keys_access (line 455)

The UI to set match-keys access.

  • return: The UI
tempcode interface_keys_access ()
interface_page_access (line 590)

The UI to set page access.

  • return: The UI
tempcode interface_page_access ()
interface_specific_permissions (line 750)

The UI to set specific-permissions.

  • return: The UI
tempcode interface_specific_permissions ()
run (line 242)

Standard modular run function.

  • return: The result of execution.
tempcode run ()
set_keys_access (line 519)

The actualiser to set match-key access.

  • return: The UI
tempcode set_keys_access ()
set_page_access (line 661)

The actualiser to set page access.

  • return: The UI
tempcode set_page_access ()
set_specific_permissions (line 953)

The actualiser to set specific-permissions.

  • return: The UI
tempcode set_specific_permissions ()
tree_editor (line 347)

The UI to for the permissions-tree-editor (advanced substitute for the combination of the page permissions screen and various other structure/content-attached screens).

  • return: The UI
tempcode tree_editor ()
uninstall (line 48)

Standard modular uninstall function.

void uninstall ()
_absorb (line 317)

The actualiser to absorb usergroup permissions.

  • return: The UI
tempcode _absorb ()
_access_header (line 401)

Show the header row for permission editor (all the usergroups, except admin usergroups).

  • return: The header row
tempcode _access_header (array $admin_groups, array $groups)
  • array $admin_groups: List of admin usergroups
  • array $groups: Map of usergroups (id=>name)
_get_ordered_sections (line 712)

Get the list of sections that we can work through, in logical order.

  • return: The section list
array _get_ordered_sections ()

Documentation generated on Sun, 02 Jan 2011 23:07:55 +0000 by phpDocumentor 1.4.3