Products_GetProducts_Relation
extends RelationAbstraction
in package
Products_GetProducts_Relation class.
Table of Contents
- TABLE_NAME = 'vtiger_seproductsrel'
- $relationModel : Vtiger_Relation_Model
- Relation model instance.
- create() : bool
- {@inheritdoc}
- delete() : bool
- {@inheritdoc}
- getQuery() : mixed
- {@inheritdoc}
- getRelationType() : int
- {@inheritdoc}
- transfer() : bool
- {@inheritdoc}
Constants
TABLE_NAME
public
string
TABLE_NAME
= 'vtiger_seproductsrel'
Name of the table that stores relations.
Properties
$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 —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