Products_SummaryWidget_Model
in package
Products SummaryWidget model class.
Tags
Table of Contents
- CATEGORY_MODULES = ['Products', 'OutsourcedProducts', 'Services', 'OSSOutsourcedServices']
- MODULES = ['Products', 'OutsourcedProducts', 'Assets', 'Services', 'OSSOutsourcedServices', 'OSSSoldServices']
- getCleanInstance() : mixed
- getModulesAndCount() : type
- Get related modules record counts.
- getProductsServices() : mixed
Constants
CATEGORY_MODULES
public
mixed
CATEGORY_MODULES
= ['Products', 'OutsourcedProducts', 'Services', 'OSSOutsourcedServices']
MODULES
public
mixed
MODULES
= ['Products', 'OutsourcedProducts', 'Assets', 'Services', 'OSSOutsourcedServices', 'OSSSoldServices']
Methods
getCleanInstance()
public
static getCleanInstance() : mixed
Return values
mixed —getModulesAndCount()
Get related modules record counts.
public
static getModulesAndCount(Vtiger_Record_Model $parentRecordModel) : type
Parameters
- $parentRecordModel : Vtiger_Record_Model
Return values
type —getProductsServices()
public
getProductsServices(Request $request, Vtiger_Viewer $viewer) : mixed
Parameters
- $request : Request
- $viewer : Vtiger_Viewer