Calendar_GetActivities_Relation
extends Vtiger_GetDependentsList_Relation
in package
Calendar_GetActivities_Relation class.
Table of Contents
- $relationModel : Vtiger_Relation_Model
- Relation model instance.
- create() : bool
- {@inheritdoc}
- delete() : bool
- {@inheritdoc}
- getQuery() : mixed
- {@inheritdoc}
- getRelationType() : int
- {@inheritdoc}
- loadAdvancedConditionsByColumns() : void
- Load advanced conditions relationship by custom column.
- loadAdvancedConditionsByRelationId() : void
- Load advanced conditions for filtering related records.
- transfer() : bool
- {@inheritdoc}
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 —loadAdvancedConditionsByColumns()
Load advanced conditions relationship by custom column.
public
loadAdvancedConditionsByColumns(QueryGenerator $queryGenerator, array<string|int, mixed> $searchParam) : void
Parameters
- $queryGenerator : QueryGenerator
-
QueryGenerator for the list of records to be tapered based on the relationship
- $searchParam : array<string|int, mixed>
-
Related record for which we are filtering the list of records
Return values
void —loadAdvancedConditionsByRelationId()
Load advanced conditions for filtering related records.
public
loadAdvancedConditionsByRelationId(QueryGenerator $queryGenerator) : void
Parameters
- $queryGenerator : QueryGenerator
-
QueryGenerator for the list of records to be tapered based on the relationship
Return values
void —transfer()
{@inheritdoc}
public
transfer(int $relatedRecordId, int $fromRecordId, int $toRecordId) : bool
Parameters
- $relatedRecordId : int
- $fromRecordId : int
- $toRecordId : int