SupervisorTable extends DataManager
Class SupervisorTable
DO NOT WRITE ANYTHING BELOW THIS
<<< ORMENTITYANNOTATION
Table of Contents
Constants
- TTL_ACTIVITY = 1200
Methods
- createCollection() : EO_Supervisor_Collection
- createObject() : EO_Supervisor
- getById() : EO_Supervisor_Result
- getByPrimary() : EO_Supervisor_Result
- getEntity() : EO_Supervisor_Entity
- getList() : EO_Supervisor_Result
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getSupervisors() : mixed
- Get list of supervisors.
- getTableName() : string
- Returns DB table name for entity.
- isSupervisor() : bool
- Current user is supervisor for the type?
- query() : EO_Supervisor_Query
- sendItem() : void
- Send item to supervisor.
- set() : void
- Become supervisor for current user.
- wakeUpCollection() : EO_Supervisor_Collection
- wakeUpObject() : EO_Supervisor
Constants
TTL_ACTIVITY
public
mixed
TTL_ACTIVITY
= 1200
Methods
createCollection()
public
static createCollection() : EO_Supervisor_Collection
Return values
EO_Supervisor_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Supervisor
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_SupervisorgetById()
public
static getById(mixed $id) : EO_Supervisor_Result
Parameters
- $id : mixed
Return values
EO_Supervisor_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Supervisor_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Supervisor_ResultgetEntity()
public
static getEntity() : EO_Supervisor_Entity
Return values
EO_Supervisor_EntitygetList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Supervisor_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Supervisor_ResultgetMap()
Returns entity map definition.
public
static getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getSupervisors()
Get list of supervisors.
public
static getSupervisors(string $type) : mixed
Parameters
- $type : string
-
Entity type: LEAD, DEAL, QUOTE, INVOICE. return array
getTableName()
Returns DB table name for entity.
public
static getTableName() : string
Return values
stringisSupervisor()
Current user is supervisor for the type?
public
static isSupervisor(string $type) : bool
Parameters
- $type : string
-
Entity type: LEAD, DEAL, QUOTE, INVOICE.
Return values
boolquery()
public
static query() : EO_Supervisor_Query
Return values
EO_Supervisor_QuerysendItem()
Send item to supervisor.
public
static sendItem(int $id, string $type, string $command) : void
Parameters
- $id : int
-
Id of item.
- $type : string
-
Entity type: LEAD, DEAL, QUOTE, INVOICE.
- $command : string
-
Command for pull.
set()
Become supervisor for current user.
public
static set(string $type, bool $set) : void
Parameters
- $type : string
-
Entity type: LEAD, DEAL, QUOTE, INVOICE.
- $set : bool
-
Set or unset.
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Supervisor_Collection
Parameters
- $rows : mixed
Return values
EO_Supervisor_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Supervisor
Parameters
- $row : mixed