PHP Класс Geo_Preferences

Наследование: extends DatabaseObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetFocusInfo ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array Gets info on map auto-focusing
GetIconsFiles ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array Gets files available as marker icons
GetIconsInfo ( string $p_htmlDir, string $p_websiteUrl ) : array Gets info on marker icons
GetIconsWebDir ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : string Gets icons directory for map (pre)view
GetIncludeCSS ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array Gets CSS file(s) to be included for map (pre)view
GetMapInfo ( string $p_htmlDir = '', string $p_websiteUrl = '', $p_mapProvider = '' ) : array Gets info on map view
GetMapProviderDefault ( ) : string Gets the default available map provider
GetPopupsInfo ( string $p_htmlDir, string $p_websiteUrl ) : array Gets info on popups
GetSearchInfo ( string $p_htmlDir, string $p_websiteUrl ) : string Gets info on the search map
PrepareMapIncludes ( array $p_inclInfo ) : string Prepares js script include tags
TemplateGeoStrings ( ) : array Gets translated strings for the geo-map templates This is used for having translated those strings, even when they are not used via this function Look at include/smarty/plugins/function.math.php for the usage

Описание методов

GetFocusInfo() публичный статический Метод

Gets info on map auto-focusing
public static GetFocusInfo ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetIconsFiles() публичный статический Метод

Gets files available as marker icons
public static GetIconsFiles ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetIconsInfo() публичный статический Метод

Gets info on marker icons
public static GetIconsInfo ( string $p_htmlDir, string $p_websiteUrl ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetIconsWebDir() публичный статический Метод

Gets icons directory for map (pre)view
public static GetIconsWebDir ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : string
$p_htmlDir string
$p_websiteUrl string
Результат string

GetIncludeCSS() публичный статический Метод

Gets CSS file(s) to be included for map (pre)view
public static GetIncludeCSS ( string $p_htmlDir = '', string $p_websiteUrl = '' ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetMapInfo() публичный статический Метод

Gets info on map view
public static GetMapInfo ( string $p_htmlDir = '', string $p_websiteUrl = '', $p_mapProvider = '' ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetMapProviderDefault() публичный статический Метод

Gets the default available map provider
public static GetMapProviderDefault ( ) : string
Результат string

GetPopupsInfo() публичный статический Метод

Gets info on popups
public static GetPopupsInfo ( string $p_htmlDir, string $p_websiteUrl ) : array
$p_htmlDir string
$p_websiteUrl string
Результат array

GetSearchInfo() публичный статический Метод

Gets info on the search map
public static GetSearchInfo ( string $p_htmlDir, string $p_websiteUrl ) : string
$p_htmlDir string
$p_websiteUrl string
Результат string

PrepareMapIncludes() публичный статический Метод

Prepares js script include tags
public static PrepareMapIncludes ( array $p_inclInfo ) : string
$p_inclInfo array
Результат string

TemplateGeoStrings() публичный статический Метод

Gets translated strings for the geo-map templates This is used for having translated those strings, even when they are not used via this function Look at include/smarty/plugins/function.math.php for the usage
public static TemplateGeoStrings ( ) : array
Результат array