ContactType
class ContactType extends DAOEntity
ContactType entity.
With this entity you can create or update any new or existing Contact type or a sub type In case of updating existing ContactType, id of that particular ContactType must be in $params array.
Creating a new contact type requires at minimum a label and parent_id.
Methods
static array
permissions()
Returns a list of permissions needed to access the various actions in this api.
from AbstractEntity
static AbstractAction
__callStatic(string $action, null $args)
Magic method to return the action object for an api.
from AbstractEntity
Details
in AbstractEntity at line 66
static GetActions
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.
in AbstractEntity at line 99
static protected string
getEntityName()
Get entity name from called class
in AbstractEntity at line 111
static AbstractAction
__callStatic(string $action, null $args)
Magic method to return the action object for an api.