Documentation

OSSMailView_GetRecordToMails_Relation extends RelationAbstraction
in package

OSSMailView_GetRecordToMails_Relation class.

Table of Contents

TABLE_NAME  = 'vtiger_ossmailview_relation'
$relationModel  : Vtiger_Relation_Model
Relation model instance.
addRelation()  : bool
Add relation if exists.
addToDB()  : bool
Add relation to DB.
create()  : bool
{@inheritdoc}
delete()  : bool
{@inheritdoc}
getQuery()  : mixed
{@inheritdoc}
getRelationType()  : int
{@inheritdoc}
isExists()  : bool
Check if relation exists.
transfer()  : bool
{@inheritdoc}

Constants

TABLE_NAME

public string TABLE_NAME = 'vtiger_ossmailview_relation'

Name of the table that stores relations.

Properties

Methods

addRelation()

Add relation if exists.

public addRelation(array<string|int, mixed> $data, string $date) : bool
Parameters
$data : array<string|int, mixed>
$date : string
Return values
bool

addToDB()

Add relation to DB.

public addToDB(array<string|int, mixed> $data) : bool
Parameters
$data : array<string|int, mixed>
Return values
bool

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

getQuery()

{@inheritdoc}

public getQuery() : mixed
Return values
mixed

getRelationType()

{@inheritdoc}

public getRelationType() : int
Return values
int

isExists()

Check if relation exists.

public isExists(array<string|int, mixed> $data) : bool
Parameters
$data : array<string|int, mixed>
Return values
bool

transfer()

{@inheritdoc}

public transfer(int $relatedRecordId, int $fromRecordId, int $toRecordId) : bool
Parameters
$relatedRecordId : int
$fromRecordId : int
$toRecordId : int
Return values
bool

        

Search results