API Documentation
Table of Contents
Namespaces
Classes
Functions
- get_quarter_start_date() : mixed
- arr_value() : mixed
- get_backdate_months() : mixed
- convert_price() : mixed
- request_get() : mixed
- client_list() : mixed
- partner_client_list() : mixed
- customer_dto() : mixed
- client_integrations_list() : mixed
- is_first_month_of_quarter() : mixed
- is_last_month_of_quarter() : mixed
- request_user_info() : mixed
- request_user_id() : mixed
- request_country_id() : mixed
- next_quarters_for_users_having_oss_registration() : mixed
- next_quarter_for_users_without_registration() : mixed
- array_value() : mixed
- convert_special_char_to_normal_char() : mixed
- const_value() : mixed
- getValue() : mixed
- addToArray() : mixed
- addToAssocArray() : mixed
- entityDecodeWithoutHtml() : mixed
- createAssocArray() : mixed
- createMultiAssocArray() : mixed
- isRestricted() : mixed
- formatDictAndJson() : mixed
- createDataTime() : DateTime|null
- countOf() : mixed
- fieldGetter() : mixed
- getDBConnectionDetail() : mixed
- formatArray() : mixed
- array_flatter() : mixed
- indexTo() : mixed
- checkFullEmpty() : mixed
- heartBeat() : int
- Sleeps the process after an amount of iteration
- getClientIpAddress() : mixed
- next_quarter_start_date() : mixed
- earliest_date_of() : mixed
- latest_date_of() : mixed
- yesterday_datetime() : mixed
- yesterday_datestring() : mixed
- int_ym_to_string_with_hyphen() : mixed
- ym_string_with_hyphen_to_int() : mixed
- remove_utf8_bom() : mixed
- subtractBusinessDaysFromDateTime() : mixed
- logger() : LoggerInterface
- em() : EntityManager
- request() : Request
- response() : Response
- auth() : AuthComponent
- di() : DiInterface
Functions
get_quarter_start_date()
get_quarter_start_date(mixed $date) : mixed
Parameters
- $date : mixed
arr_value()
arr_value(array<string|int, mixed> $arr, string $key[, mixed $default = null ]) : mixed
Parameters
- $arr : array<string|int, mixed>
- $key : string
- $default : mixed = null
get_backdate_months()
get_backdate_months(mixed $startDate) : mixed
Parameters
- $startDate : mixed
convert_price()
convert_price(mixed $price, Currency $fromCurrency, Currency $toCurrency, DateTime $eventDateTime) : mixed
Parameters
request_get()
request_get([mixed $name = null ][, mixed $filters = null ][, mixed $defaultValue = null ]) : mixed
Parameters
- $name : mixed = null
- $filters : mixed = null
- $defaultValue : mixed = null
client_list()
client_list() : mixed
partner_client_list()
partner_client_list() : mixed
customer_dto()
customer_dto(UserWrapper $user) : mixed
Parameters
- $user : UserWrapper
client_integrations_list()
client_integrations_list() : mixed
is_first_month_of_quarter()
is_first_month_of_quarter(mixed $month) : mixed
Parameters
- $month : mixed
is_last_month_of_quarter()
is_last_month_of_quarter(mixed $month) : mixed
Parameters
- $month : mixed
request_user_info()
request_user_info() : mixed
request_user_id()
request_user_id() : mixed
request_country_id()
request_country_id() : mixed
next_quarters_for_users_having_oss_registration()
next_quarters_for_users_having_oss_registration([mixed $quarter_format = 'Y-m-01' ]) : mixed
Parameters
- $quarter_format : mixed = 'Y-m-01'
next_quarter_for_users_without_registration()
next_quarter_for_users_without_registration([mixed $quarter_format = 'Y-m-01' ]) : mixed
Parameters
- $quarter_format : mixed = 'Y-m-01'
array_value()
array_value(mixed $array, mixed $key[, mixed $default_value = null ]) : mixed
Parameters
- $array : mixed
- $key : mixed
- $default_value : mixed = null
convert_special_char_to_normal_char()
convert_special_char_to_normal_char(mixed $text) : mixed
Parameters
- $text : mixed
const_value()
const_value(mixed $key[, mixed $default_value = null ]) : mixed
Parameters
- $key : mixed
- $default_value : mixed = null
getValue()
getValue(mixed $obj, mixed $key) : mixed
Parameters
- $obj : mixed
- $key : mixed
addToArray()
addToArray(array<string|int, mixed> &$a[, array<string|int, mixed> $keyList = [] ], mixed &$obj[, mixed $colList = null ]) : mixed
Parameters
- $a : array<string|int, mixed>
- $keyList : array<string|int, mixed> = []
- $obj : mixed
- $colList : mixed = null
addToAssocArray()
addToAssocArray([mixed &$assoc = [] ], mixed $result[, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $assoc : mixed = []
- $result : mixed
- $key : mixed = 'id'
- $cols : mixed = null
entityDecodeWithoutHtml()
entityDecodeWithoutHtml(mixed $string) : mixed
Parameters
- $string : mixed
createAssocArray()
createAssocArray(mixed $result[, mixed $key = 'id' ][, mixed $cols = null ]) : mixed
Parameters
- $result : mixed
- $key : mixed = 'id'
- $cols : mixed = null
createMultiAssocArray()
createMultiAssocArray(mixed $result[, mixed $keyname = ['id'] ][, mixed $cols = null ]) : mixed
Parameters
- $result : mixed
- $keyname : mixed = ['id']
- $cols : mixed = null
isRestricted()
isRestricted(mixed $path) : mixed
Parameters
- $path : mixed
formatDictAndJson()
formatDictAndJson(mixed $data[, array<string|int, mixed> $keyList = [] ], string $jsonKey[, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
- $data : mixed
- $keyList : array<string|int, mixed> = []
- $jsonKey : string
- $opt : array<string|int, mixed> = []
createDataTime()
createDataTime(mixed $date[, array<string|int, mixed> $opt = [] ]) : DateTime|null
Parameters
- $date : mixed
- $opt : array<string|int, mixed> = []
Return values
DateTime|nullcountOf()
countOf(mixed &$data) : mixed
Parameters
- $data : mixed
fieldGetter()
fieldGetter(mixed $property[, mixed $prefix = 'set' ]) : mixed
Parameters
- $property : mixed
- $prefix : mixed = 'set'
getDBConnectionDetail()
getDBConnectionDetail([mixed $prefix = '' ]) : mixed
Parameters
- $prefix : mixed = ''
formatArray()
formatArray(mixed $array) : mixed
Parameters
- $array : mixed
array_flatter()
array_flatter(array<string|int, mixed> $array[, array<string|int, mixed> $exclude = [] ][, bool $holdOriginKeys = false ]) : mixed
Parameters
- $array : array<string|int, mixed>
- $exclude : array<string|int, mixed> = []
- $holdOriginKeys : bool = false
indexTo()
indexTo(array<string|int, mixed> $dataList, string $indexTo) : mixed
Parameters
- $dataList : array<string|int, mixed>
- $indexTo : string
checkFullEmpty()
checkFullEmpty([mixed $array = [] ]) : mixed
Parameters
- $array : mixed = []
heartBeat()
Sleeps the process after an amount of iteration
heartBeat(int $heartBeat[, int $max = 100 ]) : int
Parameters
- $heartBeat : int
-
Current number of iterations
- $max : int = 100
-
Maximum number of iterations before sleep
Return values
intgetClientIpAddress()
getClientIpAddress() : mixed
next_quarter_start_date()
next_quarter_start_date() : mixed
earliest_date_of()
earliest_date_of(mixed ...$args) : mixed
Parameters
- $args : mixed
latest_date_of()
latest_date_of(mixed ...$args) : mixed
Parameters
- $args : mixed
yesterday_datetime()
yesterday_datetime() : mixed
yesterday_datestring()
yesterday_datestring() : mixed
int_ym_to_string_with_hyphen()
int_ym_to_string_with_hyphen(mixed $param) : mixed
Parameters
- $param : mixed
ym_string_with_hyphen_to_int()
ym_string_with_hyphen_to_int(mixed $param) : mixed
Parameters
- $param : mixed
remove_utf8_bom()
remove_utf8_bom(mixed $text) : mixed
Parameters
- $text : mixed
subtractBusinessDaysFromDateTime()
subtractBusinessDaysFromDateTime(mixed $dateTime, mixed $daysToSubtract) : mixed
Parameters
- $dateTime : mixed
- $daysToSubtract : mixed
logger()
logger() : LoggerInterface
Return values
LoggerInterfaceem()
em() : EntityManager
Return values
EntityManagerrequest()
request() : Request
Return values
Requestresponse()
response() : Response
Return values
Responseauth()
auth() : AuthComponent
Return values
AuthComponentdi()
di() : DiInterface