QBFreak.net
·
TWiki
·
TWikiAccessControlExceptionDotPm
...discover TWiki details, and how to start your own site.
View
|
r1.1
Navigation
Main
Blog
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
Crossway
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
Programs
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
Sandbox
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
Users
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
System
Plugins
Index
Changes
Notifications
Statistics
Preferences
SitePreferences
TWikiAccessControlExceptionDotPm 1 - 01 Feb 2006 - Users.TWikiContributor
Line: 1 to 1
Added:
>
>
Package
TWiki::AccessControlException
extends
Error
Exception used raise an access control violation.
Package TWiki::AccessControlException
ClassMethod new
($mode,$user,$web,$topic,$reason)
ObjectMethod stringify
() -> $string
ClassMethod
new
($mode,$user,$web,$topic,$reason)
$mode
- mode of access (view, change etc)
$user
- user object doing the accessing
$web
- web being accessed
$topic
- topic being accessed
$reason
- string reason for failure
All the above fields are accessible from the object in a catch clause in the usual way e.g.
$e->{web}
and
$e->{reason}
ObjectMethod
stringify
() -> $string
Generate a summary string
Revision
1
r1 - 01 Feb 2006 - 04:01 -
TWikiContributor
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding QBFreak.net?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiAccessControlExceptionDotPm
Powered by
TWiki/Dakar
Wed, 08 Feb 2006 build 8740
Syndicate this site
RSS
ATOM