Property | Type | Description | |
---|---|---|---|
$description | string | Extend description | |
$id | string | Capability ID | |
$owner | string | Capability owner | |
$roles | array | List of role id with this cap | |
$users | array | List of users id with this cap |
Method | Description | |
---|---|---|
__construct ( string $id, string $description = '', string $owner = '' ) : WPDKUserCapability | Create an instance of WPDKUserCapability class | |
update ( ) | Update in options the capability information |