\Linusx\Empyr\ControllersEmpyrUtility

Class EmpyrUtility.

Summary

Methods
Properties
Constants
__construct()
categories()
extendedCategories()
features()
info()
locationSuggestions()
searchSuggestions()
searchSuggestionsMap()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(array  $data = array()) 

Empyr Utility Methods.

Parameters

array $data

Data to set field with.

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

categories()

categories(array  $options = array()) : boolean|mixed

Returns a list of MOGL categories.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

extendedCategories()

extendedCategories(array  $options = array()) : boolean|mixed

Returns a list of MOGL categories.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException

Returns

boolean|mixed

features()

features(array  $options = array()) : boolean|mixed

Returns a list of MOGL features.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException

Returns

boolean|mixed

info()

info(array  $options = array()) : boolean|mixed

Returns information about the current application.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException

Returns

boolean|mixed

locationSuggestions()

locationSuggestions(array  $options = array()) : boolean|mixed

Returns a list of suggested locations.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

searchSuggestions()

searchSuggestions(array  $options = array()) : boolean|mixed

Returns a list of suggested searches.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed

searchSuggestionsMap()

searchSuggestionsMap(array  $options = array()) : boolean|mixed

Returns a map (business id, business name) of suggested searches.

Parameters

array $options

Throws

\GuzzleHttp\Exception\GuzzleException
\Linusx\Empyr\Exceptions\EmpyrMissingRequiredFields

Returns

boolean|mixed