abstract class DAOEntity extends AbstractEntity

Base class for DAO-based entities.

Methods

static GetActions
getActions()

No description

static 
getFields()

No description

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

static DAOGetAction
save()

No description

static DAOCreateAction
create()

No description

static DAOUpdateAction
update()

No description

static DAODeleteAction
delete()

No description

replace()

No description

Details

in AbstractEntity at line 66
static GetActions getActions()

Return Value

GetActions

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

at line 48
static DAOGetAction get()

Return Value

DAOGetAction

at line 55
static DAOGetAction save()

Return Value

DAOGetAction

at line 69
static DAOCreateAction create()

Return Value

DAOCreateAction

at line 76
static DAOUpdateAction update()

Return Value

DAOUpdateAction

at line 83
static DAODeleteAction delete()

Return Value

DAODeleteAction

at line 90
static BasicReplaceAction replace()

Return Value

BasicReplaceAction