Vtiger_Comments_Widget
extends Vtiger_Basic_Widget
in package
Vtiger comments widget class.
Tags
Table of Contents
- $allowedModules : mixed
- $Config : mixed
- $dbParams : array<string|int, string>
- Params.
- $Module : mixed
- $moduleModel : mixed
- $Record : mixed
- __construct() : mixed
- getApiData() : array<string|int, mixed>
- Return data for api.
- getConfigTplName() : mixed
- Function return config template name.
- getUrl() : string
- Return url.
- getWidget() : array<string|int, mixed>
- Function return.
- isPermitted() : bool
- Function to check permission.
Properties
$allowedModules
public
mixed
$allowedModules
= []
$Config
public
mixed
$Config
= []
$dbParams
Params.
public
array<string|int, string>
$dbParams
= ['relatedmodule' => 'ModComments']
$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()
Function return config template name.
public
getConfigTplName() : mixed
Return values
mixed —getUrl()
Return url.
public
getUrl() : string
Return values
string —getWidget()
Function return.
public
getWidget() : array<string|int, mixed>
Return values
array<string|int, mixed> —isPermitted()
Function to check permission.
public
isPermitted() : bool