RequestOptions
class RequestOptions (View source)
Traits
Methods
setMethod(string $method)
No description
usePeriod(bool $period)
No description
setSiteId(int $siteId)
No description
useSiteId(bool $siteId)
No description
setFormat(string $format)
No description
useFormat(bool $format)
No description
string
useTokenAuth(bool $tokenAuth)
No description
setArguments($arguments)
No description
array
flattenArray(array $array)
No description
string
Details
QueryDate
getDate(string $period)
Get QueryDate object from period name.
e.g. "yesterday" => QueryDate(period = "day", date = "yesterday")
string
validateFormat(string $format)
Check format against allowed values.
RequestOptions
setMethod(string $method)
No description
RequestOptions
usePeriod(bool $period)
No description
RequestOptions
setSiteId(int $siteId)
No description
RequestOptions
useSiteId(bool $siteId)
No description
RequestOptions
setFormat(string $format)
No description
RequestOptions
useFormat(bool $format)
No description
string
getFormat(ConfigRepository $config)
No description
RequestOptions
useTokenAuth(bool $tokenAuth)
No description
RequestOptions
setArguments($arguments)
No description
array
flattenArray(array $array)
No description
string
build(ConfigRepository $config)
No description