Service
Class Service
Table of Contents
Methods
- canCurrentUserUse() : bool
- Return true if current user can use.
- canUse() : bool
- Return true if can use.
- getDealWorkerCount() : bool
- Get deal worker count.
- getDealWorkerUrl() : mixed
- getJsAvailablePopupShower() : bool
- Get js available popup shower.
- getLeadWorkerUrl() : mixed
- getName() : bool
- Get name.
- getPathToAddDeal() : bool
- Get path to lead add.
- getPathToAddLead() : bool
- Get path to lead add.
- initJsExtensions() : void
- Init js-extensions.
- isAvailable() : bool
- Return true if can use.
Methods
canCurrentUserUse()
Return true if current user can use.
public
static canCurrentUserUse() : bool
Return values
boolcanUse()
Return true if can use.
public
static canUse() : bool
Return values
boolgetDealWorkerCount()
Get deal worker count.
public
static getDealWorkerCount([int|null $categoryId = null ]) : bool
Parameters
- $categoryId : int|null = null
-
Deal category ID.
Return values
boolgetDealWorkerUrl()
public
static getDealWorkerUrl([mixed $categoryId = null ]) : mixed
Parameters
- $categoryId : mixed = null
getJsAvailablePopupShower()
Get js available popup shower.
public
static getJsAvailablePopupShower() : bool
Return values
boolgetLeadWorkerUrl()
public
static getLeadWorkerUrl() : mixed
getName()
Get name.
public
static getName() : bool
Return values
boolgetPathToAddDeal()
Get path to lead add.
public
static getPathToAddDeal() : bool
Return values
boolgetPathToAddLead()
Get path to lead add.
public
static getPathToAddLead() : bool
Return values
boolinitJsExtensions()
Init js-extensions.
public
static initJsExtensions() : void
isAvailable()
Return true if can use.
public
static isAvailable() : bool