PHP 클래스 Geo_Preferences

상속: extends DatabaseObject
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

공개 메소드들

메소드 설명
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