[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/roles/classes/ -> permissions_table.php (summary)

Library code used by the roles administration interfaces.

Copyright: 2009 Petr Skoda {@link http://skodak.org}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 175 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_role_permissions_table:: (6 methods):
  __construct()
  add_header_cells()
  num_extra_columns()
  add_row_cells()
  get_risks()
  get_row_attributes()


Class: core_role_permissions_table  - X-Ref

Subclass of core_role_capability_table_base for use on the Permissions page.

__construct($context, $contextname, $allowoverrides, $allowsafeoverrides, $overridableroles)   X-Ref
Constructor.

param: context $context the context this table relates to.
param: string $contextname $context->get_context_name() - to save recomputing.
param: array $allowoverrides
param: array $allowsafeoverrides
param: array $overridableroles

add_header_cells()   X-Ref
No description

num_extra_columns()   X-Ref
No description

add_row_cells($capability)   X-Ref
No description

get_risks($capability)   X-Ref
No description

get_row_attributes($capability)   X-Ref
Add additional attributes to row

param: stdClass $capability capability that this table row relates to.
return: array key value pairs of attribute names and values.



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