Documentation

FieldBasic
in package

Provides basic API to work with vtiger CRM Fields.

Table of Contents

$__cacheSchemaChanges  : mixed
Cache (Record) the schema changes to improve performance
$anonymizationTarget  : array<string|int, string>
$block  : mixed
$color  : mixed
$column  : mixed
$columntype  : mixed
$defaultvalue  : mixed
$displaytype  : mixed
$fieldparams  : mixed
$generatedtype  : mixed
$header_field  : mixed
$helpinfo  : mixed
$icon  : mixed
$id  : mixed
ID of this field instance
$info_type  : mixed
$label  : mixed
$masseditable  : mixed
$maximumlength  : mixed
$maxlengthtext  : mixed
$maxwidthcolumn  : mixed
$name  : mixed
$presence  : mixed
$quickcreate  : mixed
$quicksequence  : mixed
$readonly  : mixed
$sequence  : mixed
$summaryfield  : mixed
$tabid  : mixed
$tabindex  : mixed
$table  : mixed
$typeofdata  : mixed
$uitype  : mixed
$visible  : mixed
__create()  : mixed
Create this field instance.
__delete()  : mixed
Delete this field instance.
__getNextQuickCreateSequence()  : mixed
Get next quick create sequence id for this instance.
__getNextSequence()  : mixed
Get next sequence id to use within a block for this instance.
__update()  : mixed
delete()  : mixed
Delete this field instance.
getBlockId()  : mixed
Get block id to which this field instance is associated.
getBlockName()  : string
Get block name.
getModuleId()  : mixed
Get module id to which this field instance is associated.
getModuleInstance()  : mixed
Get module instance to which this field instance is associated.
getModuleName()  : bool|string
Get module name to which this field instance is associated.
initialize()  : mixed
Initialize this instance.
save()  : mixed
Save this field instance.
setHelpInfo()  : mixed
Set Help Information for this instance.
setMassEditable()  : mixed
Set Masseditable information for this instance.
setSummaryField()  : mixed
Set Summaryfield information for this instance.
clearCache()  : void
Clear cache.

Properties

$__cacheSchemaChanges

Cache (Record) the schema changes to improve performance

public static mixed $__cacheSchemaChanges = []

$anonymizationTarget

public array<string|int, string> $anonymizationTarget = []

Anonymization targets form field ex. logs.

$header_field

public mixed $header_field = false

$maxwidthcolumn

public mixed $maxwidthcolumn = 0

$quicksequence

public mixed $quicksequence = false

Methods

__create()

Create this field instance.

public __create(mixed $blockInstance) : mixed
Parameters
$blockInstance : mixed
Return values
mixed

__delete()

Delete this field instance.

public __delete() : mixed
Return values
mixed

__getNextQuickCreateSequence()

Get next quick create sequence id for this instance.

public __getNextQuickCreateSequence() : mixed
Return values
mixed

__getNextSequence()

Get next sequence id to use within a block for this instance.

public __getNextSequence() : mixed
Return values
mixed

__update()

public __update() : mixed
Return values
mixed

delete()

Delete this field instance.

public delete() : mixed
Return values
mixed

getBlockId()

Get block id to which this field instance is associated.

public getBlockId() : mixed
Return values
mixed

getBlockName()

Get block name.

public getBlockName() : string
Return values
string

getModuleId()

Get module id to which this field instance is associated.

public getModuleId() : mixed
Return values
mixed

getModuleInstance()

Get module instance to which this field instance is associated.

public getModuleInstance() : mixed
Return values
mixed

getModuleName()

Get module name to which this field instance is associated.

public getModuleName() : bool|string
Return values
bool|string

initialize()

Initialize this instance.

public initialize(array<string|int, mixed> $valuemap[, mixed $module = false ][, Block $blockInstance = false ]) : mixed
Parameters
$valuemap : array<string|int, mixed>
$module : mixed = false

Mixed id or name of the module

$blockInstance : Block = false

Instance of block to which this field belongs

Return values
mixed

save()

Save this field instance.

public save([mixed $blockInstance = false ]) : mixed
Parameters
$blockInstance : mixed = false
Return values
mixed

setHelpInfo()

Set Help Information for this instance.

public setHelpInfo(mixed $helptext) : mixed
Parameters
$helptext : mixed
Return values
mixed

setMassEditable()

Set Masseditable information for this instance.

public setMassEditable(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

setSummaryField()

Set Summaryfield information for this instance.

public setSummaryField(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

clearCache()

Clear cache.

protected clearCache() : void
Return values
void

        

Search results