LOCALES_PATH
LOCALES_PATH
Site Data Helper Class
getApp(): \App\App
gets app object
getRouting(): \App\Site\Routing\Web
gets routing service
getUtils(): \App\Base\Tools\Utils\Globals
gets global utils service
getSiteData(): \App\Base\Tools\Utils\SiteData
gets site data service
getAssets(): \App\Base\Tools\Assets\Manager
gets assets manager
getMailer(): \App\Base\Tools\Utils\Mailer
gets mailer service
getCache(): \App\Base\Tools\Cache\Manager
get cache manager
getHtmlRenderer(): \App\Base\Tools\Utils\HtmlPartsRenderer
gets html renderer service
getCurrentWebsite(): \App\Site\Models\Website|integer|string|null
gets current website id
getConfigValue(string $config_path,integer|null $website_id = null,string|null $locale = null): mixed
gets config value
string | $config_path | |
integer|null | $website_id | |
string|null | $locale |
getHomePageRedirectsToLanguage(null $website_id = null): boolean
gets homepage redirects to default language preference
null | $website_id |