E
dit
W
YSIWYG
A
ttach
P
rintable
r1 - 01 Feb 2006 - 12:01:24 -
TWikiContributor
You are here:
TWiki
>
TWiki Web
>
TWikiAccessControlExceptionDotPm
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
E
dit
|
W
YSIWYG
|
A
ttach
|
P
rintable
|
R
aw View
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r1
|
M
ore topic actions
TWiki
Log In
TWiki Web
Webs
Main
TWiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.TWikiAccessControlExceptionDotPm