Documentation

Products_Module_Model extends Vtiger_Module_Model
in package

Table of Contents

getQueryByModuleField()  : mixed
Function to get list view query for popup window.
getQueryForRecords()  : QueryGenerator
{@inheritdoc}
isSummaryViewSupported()  : bool
Function to check whether the module is summary view supported.

Methods

getQueryByModuleField()

Function to get list view query for popup window.

public getQueryByModuleField(string $sourceModule, string $field, string $record, QueryGenerator $queryGenerator) : mixed
Parameters
$sourceModule : string

Parent module

$field : string

parent fieldname

$record : string

parent id

$queryGenerator : QueryGenerator
Return values
mixed

getQueryForRecords()

{@inheritdoc}

public getQueryForRecords(string $searchValue, int $limit[, int $srcRecord = null ]) : QueryGenerator
Parameters
$searchValue : string
$limit : int
$srcRecord : int = null
Return values
QueryGenerator

isSummaryViewSupported()

Function to check whether the module is summary view supported.

public isSummaryViewSupported() : bool
Return values
bool

Search results