Class PhpgaclUsersController

Description

Actions to manage groups and users in phpGACL.

  • since: 1.0
  • author: Mariano Iglesias

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

AppController
   |
   --PhpgaclAppController
      |
      --PhpgaclUsersController
Variable Summary
array $components
array $helpers
string $name
array $uses
Method Summary
void beforeFilter ()
void beforeRender ()
void delete_group (string $value)
void delete_user (string $value)
void edit_group ([string $value = null])
void edit_user ([string $value = null])
void groups ()
void import ()
void users ()
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.
array $helpers = array( 'Javascript', 'PhpgaclHtml' ) (line 51)

Helpers used by this controller.

  • since: 1.0
  • access: protected

Redefinition of:
PhpgaclAppController::$helpers
Helpers used by all controllers.
string $name = 'PhpgaclUsers' (line 35)

Name of the controller.

  • since: 1.0
  • access: protected
array $uses = array('PhpgaclAro', 'PhpgaclAroGroup') (line 59)

Models used by this controller.

  • since: 1.0
  • access: protected

Inherited Variables

Inherited from PhpgaclAppController

PhpgaclAppController::$pluginUrl
Methods
beforeFilter (line 68)

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 81)

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_group (line 96)

Delete a group.

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

Delete a user.

  • since: 1.0
  • access: public
void delete_user (string $value)
  • string $value: User identifier.
edit_group (line 168)

Add or edit a group.

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

Add or edit a user.

  • since: 1.0
  • access: public
void edit_user ([string $value = null])
  • string $value: User identifier.
groups (line 296)

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

  • since: 1.0
  • access: public
void groups ()
import (line 314)

Import groups and users into phpGACL.

  • since: 1.0
  • access: public
void import ()
users (line 391)

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

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

Inherited Methods

Inherited From PhpgaclAppController

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

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