WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKCapability Class Reference

Public Member Functions

 __construct ($id, $description= '', $owner= '')
 Construct. More...
 
 update ()
 Update. More...
 

Data Fields

 $id
 Capability ID. More...
 
 $description
 Description. More...
 
 $owner
 Owner. More...
 

Detailed Description

Single capability model. This class is useful to map a few instance of capability.

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2013-03-04
Version
1.0.0

Definition at line 2642 of file wpdk-user.php.

Constructor & Destructor Documentation

__construct (   $id,
  $description = '',
  $owner = '' 
)

Construct.

Create an instance of WPDKCapability class

Parameters
string$idUnique id of capability
string$descriptionOptional. Capability description
string$ownerOptional. Capability owner, who create this capabilty
Returns
WPDKCapability

Definition at line 2682 of file wpdk-user.php.

Member Function Documentation

update ( )

Update.

Update in options the capability information

Definition at line 2695 of file wpdk-user.php.

Field Documentation

string $description

Description.

Extend description

Definition at line 2660 of file wpdk-user.php.

string $id

Capability ID.

Capability ID

Definition at line 2651 of file wpdk-user.php.

string $owner

Owner.

Capability owner

Definition at line 2669 of file wpdk-user.php.


The documentation for this class was generated from the following file: