ServerAccess
in package
Server access field class.
Table of Contents
- BTN_CLASS = ['ModComments' => [0 => 'text-secondary', 1 => 'text-success'], 'List' => [0 => 'btn-secondary', 1 => 'btn-success'], 'RelatedList' => [0 => 'btn-secondary', 1 => 'btn-success']]
- get() : array<string|int, mixed>
- Get web service application details by id.
- getLinks() : Vtiger_Link_Model|null
- Get links to share the record in external services (Web service - Applications).
Constants
BTN_CLASS
public
array<string|int, mixed>
BTN_CLASS
= ['ModComments' => [0 => 'text-secondary', 1 => 'text-success'], 'List' => [0 => 'btn-secondary', 1 => 'btn-success'], 'RelatedList' => [0 => 'btn-secondary', 1 => 'btn-success']]
Class mapping for different button places
Methods
get()
Get web service application details by id.
public
static get(int $serverId) : array<string|int, mixed>
Parameters
- $serverId : int
Return values
array<string|int, mixed> —getLinks()
Get links to share the record in external services (Web service - Applications).
public
static getLinks(Vtiger_Record_Model $recordModel, string $source) : Vtiger_Link_Model|null
Parameters
- $recordModel : Vtiger_Record_Model
- $source : string