Apache Zeta Components Manual :: Docs For Class ezcBasePropertyPermissionException
Base::ezcBasePropertyPermissionException
Class ezcBasePropertyPermissionException
ezcBasePropertyPermissionException is thrown whenever a read-only property is tried to be changed, or when a write-only property was accessed for reading.
Source for this file: /Base/src/exceptions/property_permission.php
Exception
|
--ezcBaseException
|
--ezcBasePropertyPermissionException
Constants
READ
= 1
|
Used when the property is read-only. |
WRITE
= 2
|
Used when the property is write-only. |
Inherited Member Variables
Method Summary
public ezcBasePropertyPermissionException |
__construct(
$name
, $mode
)
Constructs a new ezcPropertyPermissionException for the property $name. |
Inherited Methods
Methods
__construct
ezcBasePropertyPermissionException
__construct(
string
$name
, int
$mode
)
Constructs a new ezcPropertyPermissionException for the property $name.
Parameters:
Name |
Type |
Description |
$name |
string |
The name of the property.
|
$mode |
int |
The mode of the property that is allowed (::READ or ::WRITE).
|
Redefinition of: