CLI API Documentation

Axigen's PHP Command Line Interface API reference guide

List of all members.

Public Member Functions

  __construct ($permissionsObj, $parent)
  denyPermission ($permission)
  getPermissionsObj ()
  getSessionObj ()
  grantPermission ($permission)
  revokePermission ($permission)
  save ()
  showPermissions ()

Public Attributes

  $effective
  $type

Member Function Documentation

Permissions::denyPermission ( permission  ) 

denies permission for the selected user or group

Note:
is not available for effective permissions return bool
Parameters:
$permission  string the permission name
Permissions::grantPermission ( permission  ) 

grants a permission for the selected user or group

Note:
is not available for effective permissions return bool
Parameters:
$permission  string the permission name
Permissions::revokePermission ( permission  ) 

revokes permission for the selected user or group

Note:
is not available for effective permissions return bool
Parameters:
$permission  string the permission name
Permissions::save (  ) 

saves permissions return bool

Permissions::showPermissions (  ) 

shows permissions for the selected user/group

Returns:
array