Class Principal
A class for things to do with a Principal
Direct known subclasses
DAVPrincipal
Package: davical\Principal
Copyright: Morphoss Ltd <http://www.morhposs.com/>
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at Principal.php
Copyright: Morphoss Ltd <http://www.morhposs.com/>
License: GNU GPL v2 or later
Author: Andrew McMillan <andrew@mcmillan.net.nz>
Located at Principal.php
public static
|
|
public
|
#
__construct( string $type, mixed $value, boolean $use_cache = true )
Construct a new Principal object. The principal record will be retrieved from the database, or (if not found) initialised to a new record. You can test for whether the Principal exists by calling the Exists() method on the returned object. |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
string
|
|
protected
|
|
protected
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public static
|
protected
mixed
|
$username |
|
#
Columns from the database |
protected
mixed
|
$user_no |
|
|
protected
mixed
|
$principal_id |
|
|
protected
mixed
|
|
||
protected
mixed
|
$dav_name |
|
|
public
mixed
|
$user_active |
|
|
public
mixed
|
$created |
|
|
public
mixed
|
$modified |
|
|
public
mixed
|
$password |
|
|
public
mixed
|
$fullname |
|
|
public
mixed
|
$email_ok |
|
|
public
mixed
|
$date_format_type |
|
|
public
mixed
|
$locale |
|
|
public
mixed
|
$type_id |
|
|
public
mixed
|
$displayname |
|
|
public
mixed
|
$default_privileges |
|
|
public
mixed
|
$is_principal |
|
|
public
mixed
|
$is_calendar |
|
|
public
mixed
|
$collection_id |
|
|
public
mixed
|
$is_addressbook |
|
|
public
mixed
|
$resourcetypes |
|
|
public
mixed
|
$privileges |
|
|
protected
boolean
|
$exists |
|
#
Whether this Principal actually exists in the database yet. |
protected
The
|
$url |
|
#
home URL of the principal |
protected
The
|
$original_request_url |
|
#
actual requested URL for this principal, when the request was for /principals/... or such |
protected
boolean
|
$by_email |
|
#
Whether this was retrieved using an e-mail address |
protected
mixed
|
$collections |
|
|
protected
mixed
|
$dead_properties |
|
|
protected
mixed
|
$default_calendar |
|