ModComments_GetRelatedRecord_Relation
extends RelationAbstraction
in package
ModTracker_GetRelatedRecord_Relation class.
Table of Contents
- $customFields : array<string|int, mixed>
- Field custom list.
- $relationModel : Vtiger_Relation_Model
- Relation model instance.
- create() : bool
- {@inheritdoc}
- delete() : bool
- {@inheritdoc}
- getFields() : array<string|int, mixed>
- Field list.
- getQuery() : mixed
- {@inheritdoc}
- getRelationType() : int
- {@inheritdoc}
- transfer() : bool
- {@inheritdoc}
Properties
$customFields
Field custom list.
public
array<string|int, mixed>
$customFields
= ['children_count' => ['label' => 'LBL_CHILDREN_COUNT', 'uitype' => 7]]
$relationModel
Relation model instance.
public
Vtiger_Relation_Model
$relationModel
Relation model instance by reference
Methods
create()
{@inheritdoc}
public
create(int $sourceRecordId, int $destinationRecordId) : bool
Parameters
- $sourceRecordId : int
- $destinationRecordId : int
Return values
bool —delete()
{@inheritdoc}
public
delete(int $sourceRecordId, int $destinationRecordId) : bool
Parameters
- $sourceRecordId : int
- $destinationRecordId : int
Return values
bool —getFields()
Field list.
public
getFields([bool $editable = false ]) : array<string|int, mixed>
Parameters
- $editable : bool = false
Return values
array<string|int, mixed> —getQuery()
{@inheritdoc}
public
getQuery() : mixed
Return values
mixed —getRelationType()
{@inheritdoc}
public
getRelationType() : int
Return values
int —transfer()
{@inheritdoc}
public
transfer(int $relatedRecordId, int $fromRecordId, int $toRecordId) : bool
Parameters
- $relatedRecordId : int
- $fromRecordId : int
- $toRecordId : int