Documentation

Fields
in package

Class with custom functionality for fields.

Table of Contents

$webserviceAppsFields  : array<string|int, mixed>
getFields()  : array<string|int, mixed>
Get fields for current webservice app.
loadWebserviceByField()  : void
Load custom field data for the webservice app.
loadWebserviceFields()  : void
Load custom fields data for the webservice app.
getDefaultValue()  : mixed
Get default value for specified field object.

Properties

$webserviceAppsFields

private static array<string|int, mixed> $webserviceAppsFields = []

Webservice apps fields data.

Methods

getFields()

Get fields for current webservice app.

public static getFields(int $serverId, int $moduleId) : array<string|int, mixed>
Parameters
$serverId : int
$moduleId : int
Return values
array<string|int, mixed>

loadWebserviceByField()

Load custom field data for the webservice app.

public static loadWebserviceByField(Vtiger_Field_Model $fieldModel, BaseAction $actionModel[, array<string|int, mixed>|null $fieldData = null ]) : void
Parameters
$fieldModel : Vtiger_Field_Model
$actionModel : BaseAction
$fieldData : array<string|int, mixed>|null = null
Return values
void

loadWebserviceFields()

Load custom fields data for the webservice app.

public static loadWebserviceFields(Vtiger_Module_Model $moduleModel, BaseAction $actionModel) : void
Parameters
$moduleModel : Vtiger_Module_Model
$actionModel : BaseAction
Return values
void

getDefaultValue()

Get default value for specified field object.

private static getDefaultValue(Vtiger_Field_Model $fieldModel, array<string|int, mixed> $fieldData, BaseAction $actionModel) : mixed
Parameters
$fieldModel : Vtiger_Field_Model
$fieldData : array<string|int, mixed>
$actionModel : BaseAction
Return values
mixed

        

Search results