Vtiger_CountRecords_Widget
extends Vtiger_Basic_Widget
in package
Class for count records widget.
Tags
Table of Contents
- $allowedModules : mixed
- $Config : mixed
- $dbParams : mixed
- $Module : mixed
- $moduleModel : mixed
- $Record : mixed
- __construct() : mixed
- getApiData() : array<string|int, mixed>
- Return data for api.
- getConfigTplName() : mixed
- getCountRecords() : mixed
- getUrl() : mixed
- getWidget() : mixed
- isPermitted() : bool
- Function to check permission.
Properties
$allowedModules
public
mixed
$allowedModules
= ['Campaigns']
$Config
public
mixed
$Config
= []
$dbParams
public
mixed
$dbParams
= []
$Module
public
mixed
$Module
= \false
$moduleModel
public
mixed
$moduleModel
= \false
$Record
public
mixed
$Record
= \false
Methods
__construct()
public
__construct([mixed $Module = false ][, mixed $moduleModel = null ][, mixed $Record = null ][, mixed $widget = [] ]) : mixed
Parameters
- $Module : mixed = false
- $moduleModel : mixed = null
- $Record : mixed = null
- $widget : mixed = []
Return values
mixed —getApiData()
Return data for api.
public
getApiData(array<string|int, mixed> $row) : array<string|int, mixed>
Parameters
- $row : array<string|int, mixed>
Return values
array<string|int, mixed> —getConfigTplName()
public
getConfigTplName() : mixed
Return values
mixed —getCountRecords()
public
static getCountRecords(mixed $modules, mixed $recordId) : mixed
Parameters
- $modules : mixed
- $recordId : mixed
Return values
mixed —getUrl()
public
getUrl() : mixed
Return values
mixed —getWidget()
public
getWidget() : mixed
Return values
mixed —isPermitted()
Function to check permission.
public
isPermitted() : bool