Documentation

Vtiger_Multifilter_Model extends Vtiger_Widget_Model
in package

Multifilter model.

Tags
copyright

YetiForce Sp. z o.o.

license

YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)

author

Arkadiusz Dudek a.dudek@yetiforce.com

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

Table of Contents

SHOW_COMULNS  = 4
Set numer of shown columns in list.
$extraData  : array<string|int, mixed>
Extra data.
$filtersId  : int
Filter id.
$listviewHeaders  : array<string|int, mixed>
List of view headers.
$listViewModel  : Vtiger_ListView_Model
ListView model.
$listviewRecords  : array<string|int, mixed>
List of view records.
$modulesName  : string
Module name.
$searchParams  : array<string|int, mixed>
Search condition.
$targetModuleModel  : Vtiger_Module_Model
Target module model.
$widgetModel  : Vtiger_Widget_Model
Widget model.
getFilterId()  : int
Return filter id.
getHeaderCount()  : int
Return header count.
getHeaders()  : array<string|int, mixed>
Get columns name.
getListViewURL()  : string
Get list view URL.
getRecordLimit()  : int
Return record limit.
getRecords()  : array<string|int, mixed>
Return records list.
getTargetModule()  : string
Return target module name.
getTargetModuleModel()  : Vtiger_Module_Model
Return target module model.
getTotalCountURL()  : string
Get total count URL.
setFilterId()  : mixed
Set filter id to show.
setModulesName()  : mixed
Set actual module name.
setWidgetModel()  : mixed
Set widget model to show.
initListViewController()  : mixed
{@inheritdoc}

Constants

SHOW_COMULNS

Set numer of shown columns in list.

public array<string|int, mixed> SHOW_COMULNS = 4

Properties

$extraData

Extra data.

protected array<string|int, mixed> $extraData

$listviewHeaders

List of view headers.

protected array<string|int, mixed> $listviewHeaders

$listViewModel

ListView model.

protected Vtiger_ListView_Model $listViewModel

$listviewRecords

List of view records.

protected array<string|int, mixed> $listviewRecords

$modulesName

Module name.

protected string $modulesName

$searchParams

Search condition.

protected array<string|int, mixed> $searchParams = []

$targetModuleModel

Target module model.

protected Vtiger_Module_Model $targetModuleModel

$widgetModel

Widget model.

protected Vtiger_Widget_Model $widgetModel

Methods

getFilterId()

Return filter id.

public getFilterId() : int
Return values
int

getHeaderCount()

Return header count.

public getHeaderCount() : int
Return values
int

getHeaders()

Get columns name.

public getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>

getListViewURL()

Get list view URL.

public getListViewURL() : string
Return values
string

getRecordLimit()

Return record limit.

public getRecordLimit() : int
Return values
int

getRecords()

Return records list.

public getRecords() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTargetModule()

Return target module name.

public getTargetModule() : string
Return values
string

getTargetModuleModel()

Return target module model.

public getTargetModuleModel() : Vtiger_Module_Model
Return values
Vtiger_Module_Model

getTotalCountURL()

Get total count URL.

public getTotalCountURL() : string
Return values
string

setFilterId()

Set filter id to show.

public setFilterId( $filterId) : mixed
Parameters
$filterId :
Return values
mixed

setModulesName()

Set actual module name.

public setModulesName( $modulesName) : mixed
Parameters
$modulesName :
Return values
mixed

setWidgetModel()

Set widget model to show.

public setWidgetModel( $widgetModel) : mixed
Parameters
$widgetModel :
Tags
throws
AppException
Return values
mixed

initListViewController()

{@inheritdoc}

protected initListViewController() : mixed
Return values
mixed

Search results