class Address extends DAOEntity

Address Entity.

This entity holds the address informatiom of a contact. Each contact may hold one or more addresses but must have different location types respectively.

Creating a new address requires at minimum a contact's ID and location type ID and other attributes (although optional) like street address, city, country etc.

Methods

static GetActions
getActions()

No description

static 
getFields()

No description

from DAOEntity
static array
permissions()

Returns a list of permissions needed to access the various actions in this api.

static string
getEntityName()

Get entity name from called class

static AbstractAction
__callStatic(string $action, null $args)

Magic method to return the action object for an api.

static DAOGetAction
get()

No description

from DAOEntity
static DAOGetAction
save()

No description

static DAOCreateAction
create()

No description

static DAOUpdateAction
update()

No description

static DAODeleteAction
delete()

No description

from DAOEntity
replace()

No description

from DAOEntity

Details

in AbstractEntity at line 66
static GetActions getActions()

Return Value

GetActions

in DAOEntity at line 62
static getFields()

in AbstractEntity at line 84
static array permissions()

Returns a list of permissions needed to access the various actions in this api.

Return Value

array

in AbstractEntity at line 99
static protected string getEntityName()

Get entity name from called class

Return Value

string

in AbstractEntity at line 111
static AbstractAction __callStatic(string $action, null $args)

Magic method to return the action object for an api.

Parameters

string $action
null $args

Return Value

AbstractAction

Exceptions

NotImplementedException

in DAOEntity at line 48
static DAOGetAction get()

Return Value

DAOGetAction

at line 63
static DAOGetAction save()

Return Value

DAOGetAction

at line 56
static DAOCreateAction create()

Return Value

DAOCreateAction

at line 70
static DAOUpdateAction update()

Return Value

DAOUpdateAction

in DAOEntity at line 83
static DAODeleteAction delete()

Return Value

DAODeleteAction

in DAOEntity at line 90
static BasicReplaceAction replace()

Return Value

BasicReplaceAction