CWIS Developer Documentation
|
Compatibility layer allowing interfaces built against the privilege system from CWIS 3.0.0 through 3.1.0 to continue working. More...
Public Member Functions | |
__construct (CWUser $User) | |
Class constructor. More... | |
IsGreaterThan (PrivilegeSet $Set, $Resource=PrivilegeSet::NO_RESOURCE) | |
Check whether usser meets privilege requirements. More... | |
Compatibility layer allowing interfaces built against the privilege system from CWIS 3.0.0 through 3.1.0 to continue working.
This should not be used in new code.
Definition at line 15 of file PrivilegeSetCompatibilityShim.php.
PrivilegeSetCompatibilityShim::__construct | ( | CWUser | $User | ) |
Class constructor.
object | $User | User to check privileges for. |
Definition at line 21 of file PrivilegeSetCompatibilityShim.php.
PrivilegeSetCompatibilityShim::IsGreaterThan | ( | PrivilegeSet | $Set, |
$Resource = PrivilegeSet::NO_RESOURCE |
|||
) |
Check whether usser meets privilege requirements.
object | $Set | Privilege set to check against. |
object | $Resource | Resource to user in privilege check. |
Definition at line 32 of file PrivilegeSetCompatibilityShim.php.
References PrivilegeSet\MeetsRequirements().