Deal_Report_Controller
in package
Deal.
Tags
Table of Contents
Properties
- $_aDataStatus : array<string|int, mixed>
- Data status
- $_aDataSum : array<string|int, mixed>
- Data sum
- $_amountFrom : mixed
- Amount from
- $_amountTo : mixed
- Amount to
- $_currencyFrom : mixed
- Currency from
- $_currencyTo : mixed
- Currency to
- $_endDatetime : mixed
- End datetime
- $_endDatetimeFrom : mixed
- End datetime from
- $_endDatetimeTo : mixed
- End datetime to
- $_startDatetime : mixed
- Start datetime
- $_userId : int
- User id
Methods
- salesfunnel() : array<string|int, mixed>
- Salesfunnel
- _deals() : mixed
- Deals
- _prepareSalesfunnel() : mixed
- Prepare salesfunnel
- _selectDeals() : object
- Select deals
- _showOptgroup() : mixed
- Show optgroup.
- _showOption() : mixed
- Show option
- _showOptions() : mixed
- Show options.
- _showTabContent() : mixed
- Show tab content.
Properties
$_aDataStatus
Data status
protected
static array<string|int, mixed>
$_aDataStatus
= array()
$_aDataSum
Data sum
protected
static array<string|int, mixed>
$_aDataSum
= array()
$_amountFrom
Amount from
protected
static mixed
$_amountFrom
= \NULL
$_amountTo
Amount to
protected
static mixed
$_amountTo
= \NULL
$_currencyFrom
Currency from
protected
static mixed
$_currencyFrom
= \NULL
$_currencyTo
Currency to
protected
static mixed
$_currencyTo
= \NULL
$_endDatetime
End datetime
protected
static mixed
$_endDatetime
= \NULL
$_endDatetimeFrom
End datetime from
protected
static mixed
$_endDatetimeFrom
= \NULL
$_endDatetimeTo
End datetime to
protected
static mixed
$_endDatetimeTo
= \NULL
$_startDatetime
Start datetime
protected
static mixed
$_startDatetime
= \NULL
$_userId
User id
protected
static int
$_userId
= 0
Methods
salesfunnel()
Salesfunnel
public
static salesfunnel(array<string|int, mixed> $aFields, array<string|int, mixed> $aOptions) : array<string|int, mixed>
Parameters
- $aFields : array<string|int, mixed>
- $aOptions : array<string|int, mixed>
Return values
array<string|int, mixed>_deals()
Deals
protected
static _deals(string $functionName, array<string|int, mixed> $aOptions) : mixed
Parameters
- $functionName : string
- $aOptions : array<string|int, mixed>
_prepareSalesfunnel()
Prepare salesfunnel
protected
static _prepareSalesfunnel(string $functionName, array<string|int, mixed> $aOptions) : mixed
Parameters
- $functionName : string
- $aOptions : array<string|int, mixed>
_selectDeals()
Select deals
protected
static _selectDeals(string $startDatetime, string $endDatetime) : object
Parameters
- $startDatetime : string
- $endDatetime : string
Return values
object_showOptgroup()
Show optgroup.
protected
static _showOptgroup(stdClass $oOptgroup) : mixed
Parameters
- $oOptgroup : stdClass
_showOption()
Show option
protected
static _showOption(string $key, string $value[, array<string|int, mixed> $aAttr = array() ]) : mixed
Parameters
- $key : string
-
key
- $value : string
-
value
- $aAttr : array<string|int, mixed> = array()
-
attributes
_showOptions()
Show options.
protected
static _showOptions(mixed $aOptions) : mixed
Parameters
- $aOptions : mixed
_showTabContent()
Show tab content.
protected
static _showTabContent(mixed $oDeal_Template[, mixed $key = 0 ]) : mixed
Parameters
- $oDeal_Template : mixed
- $key : mixed = 0