Documentation

OSSMailView_GetEmails_Relation extends RelationAbstraction
in package

OSSMailView_GetEmails_Relation class.

Table of Contents

TABLE_NAME  = 'vtiger_ossmailview_relation'
$relationModel  : Vtiger_Relation_Model
Relation model instance.
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}
updateDB()  : bool
Update relation.

Constants

TABLE_NAME

public string TABLE_NAME = 'vtiger_ossmailview_relation'

Name of the table that stores relations.

Properties

Methods

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

updateDB()

Update relation.

public updateDB(int $toRecordId, array<string|int, mixed> $where) : bool
Parameters
$toRecordId : int
$where : array<string|int, mixed>
Return values
bool

        

Search results