![]() |
Maileon PHP client
1.5.0
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($code=0, $type=null) | |
getCode () | |
getString () | |
Static Public Member Functions | |
static | init () |
static | getPermission ($code) |
Public Attributes | |
$code | |
$type | |
Static Public Attributes | |
static | $NONE |
static | $SOI |
static | $COI |
static | $DOI |
static | $DOI_PLUS |
static | $OTHER |
The wrapper class for a Maileon permission. 1 = NONE, 2 = SOI, 3 = COI, 4 = DOI, 5 = DOI+, 6 = OTHER.
Definition at line 8 of file Permission.php.
com_maileon_api_contacts_Permission::__construct | ( | $code = 0 , |
|
$type = null |
|||
) |
Constructor initializing the code of the permission.
number | $code | The code to use for the constructed permission. |
Definition at line 44 of file Permission.php.
|
static |
This is the initialization method for the permission types. This must be called once in the beginning.
Definition at line 25 of file Permission.php.
com_maileon_api_contacts_Permission::getCode | ( | ) |
Get the code of this permission. 1 = NONE, 2 = SOI, 3 = COI, 4 = DOI, 5 = DOI+, 6 = OTHER.
Definition at line 61 of file Permission.php.
com_maileon_api_contacts_Permission::getString | ( | ) |
Get the type string of this permission. none = NONE, soi = SOI, coi = COI, doi = DOI, doi+ = DOI+, other = OTHER.
Definition at line 73 of file Permission.php.
|
static |
Get the permission object from the code
var | $code | The code or type to get the permission object for. |
Definition at line 105 of file Permission.php.