Class PhpgaclElementsController

Description

Actions to manage elements in phpGACL.

  • since: 1.0
  • author: Mariano Iglesias

Located in /plugins/phpgacl/controllers/phpgacl_elements_controller.php (line 24)

AppController
   |
   --PhpgaclAppController
      |
      --PhpgaclElementsController
Variable Summary
array $components
string $name
array $uses
Method Summary
void acos (string $value)
void aco_sections ()
void axos (string $value)
void axo_sections ()
void beforeFilter ()
void beforeRender ()
void delete_aco (string $sectionValue, string $value)
void delete_aco_section (string $value)
void delete_axo (string $sectionValue, string $value)
void delete_axo_section (string $value)
void delete_group (string $value)
void edit_aco (string $sectionValue, [string $value = null])
void edit_aco_section ([string $value = null])
void edit_axo (string $sectionValue, [string $value = null])
void edit_axo_section ([string $value = null])
void edit_group ([string $value = null])
void groups ()
void index ()
Variables
array $components = array( 'PhpGacl', 'Session' ) (line 43)

Components used by this controller.

  • since: 1.0
  • access: protected

Redefinition of:
PhpgaclAppController::$components
Components used by all controllers.
string $name = 'PhpgaclElements' (line 35)

Name of the controller.

  • since: 1.0
  • access: protected
array $uses = array ('PhpgaclAco', 'PhpgaclAcoSection', 'PhpgaclAxo', 'PhpgaclAxoGroup', 'PhpgaclAxoSection') (line 51)

Models used by this controller.

  • since: 1.0
  • access: protected

Inherited Variables

Inherited from PhpgaclAppController

PhpgaclAppController::$helpers
PhpgaclAppController::$pluginUrl
Methods
acos (line 151)

List all ACOs assigned to a section, with links for editing, removing, and creation.

  • since: 1.0
  • access: public
void acos (string $value)
  • string $value: Section identifier
aco_sections (line 86)

List all ACO sections with links for editing, removing, and creation.

  • since: 1.0
  • access: public
void aco_sections ()
axos (line 191)

List all AXOs assigned to a section, with links for editing, removing, and creation.

  • since: 1.0
  • access: public
void axos (string $value)
  • string $value: Section identifier
axo_sections (line 115)

List all AXO sections with links for editing, removing, and creation.

  • since: 1.0
  • access: public
void axo_sections ()
beforeFilter (line 60)

Runs before the action is executed. Used to make sure phpGACL is installed.

  • since: 1.0
  • access: protected
void beforeFilter ()

Redefinition of:
PhpgaclAppController::beforeFilter()
Runs before the action is executed. Used to make sure phpGACL is installed.
beforeRender (line 73)

Runs after the action has been executed, and before the view is rendered.

  • since: 1.0
  • access: protected
void beforeRender ()

Redefinition of:
PhpgaclAppController::beforeRender()
Runs after the action has been executed, and before the view is rendered.
delete_aco (line 244)

Delete an ACO.

  • since: 1.0
  • access: public
void delete_aco (string $sectionValue, string $value)
  • string $sectionValue: ACO section identifier.
  • string $value: ACO identifier.
delete_aco_section (line 279)

Delete an ACO section.

  • since: 1.0
  • access: public
void delete_aco_section (string $value)
  • string $value: ACO section identifier.
delete_axo (line 313)

Delete an AXO.

  • since: 1.0
  • access: public
void delete_axo (string $sectionValue, string $value)
  • string $sectionValue: AXO section identifier.
  • string $value: AXO identifier.
delete_axo_section (line 355)

Delete an AXO section.

  • since: 1.0
  • access: public
void delete_axo_section (string $value)
  • string $value: AXO section identifier.
delete_group (line 388)

Delete a group.

  • since: 1.0
  • access: public
void delete_group (string $value)
  • string $value: Group identifier.
edit_aco (line 422)

Add or edit an ACO.

  • since: 1.0
  • access: public
void edit_aco (string $sectionValue, [string $value = null])
  • string $sectionValue: ACO section identifier.
  • string $value: ACO identifier.
edit_aco_section (line 491)

Add or edit an ACO section.

  • since: 1.0
  • access: public
void edit_aco_section ([string $value = null])
  • string $value: ACO section identifier.
edit_axo (line 547)

Add or edit an AXO.

  • since: 1.0
  • access: public
void edit_axo (string $sectionValue, [string $value = null])
  • string $sectionValue: AXO section identifier.
  • string $value: AXO identifier.
edit_axo_section (line 656)

Add or edit an AXO section.

  • since: 1.0
  • access: public
void edit_axo_section ([string $value = null])
  • string $value: AXO section identifier.
edit_group (line 705)

Add or edit a group.

  • since: 1.0
  • access: public
void edit_group ([string $value = null])
  • string $value: Group identifier.
groups (line 767)

List all groups with links for editing, removing, and creation.

  • since: 1.0
  • access: public
void groups ()
index (line 798)

Select which controllers and actions should be defined in phpGACL.

  • since: 1.0
  • access: public
void index ()

Inherited Methods

Inherited From PhpgaclAppController

PhpgaclAppController::beforeFilter()
PhpgaclAppController::beforeRender()

Documentation generated on Thu, 08 Mar 2007 21:52:51 -0300 by phpDocumentor 1.3.1