PHP Class MetaMap

Inheritance: extends MetaDbObject
Show file Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
GetMapTagBody ( integer $p_articleNumber, integer $p_languageId ) : string
GetMapTagCenter ( integer $p_articleNumber, integer $p_languageId ) : string
GetMapTagHeader ( integer $p_articleNumber, integer $p_languageId, $p_mapWidth, $p_mapHeight, $p_autoFocus = null ) : string
GetMapTagList ( $p_articleNumber, $p_languageId ) : string
__construct ( IGeoMap $p_dbObject = null )

Protected Methods

Method Description
getLocations ( ) : array Get locations
isEnabled ( ) : boolean Is Map enabled?

Method Details

GetMapTagBody() public static method

public static GetMapTagBody ( integer $p_articleNumber, integer $p_languageId ) : string
$p_articleNumber integer
$p_languageId integer
return string

GetMapTagCenter() public static method

public static GetMapTagCenter ( integer $p_articleNumber, integer $p_languageId ) : string
$p_articleNumber integer
$p_languageId integer
return string

GetMapTagHeader() public static method

public static GetMapTagHeader ( integer $p_articleNumber, integer $p_languageId, $p_mapWidth, $p_mapHeight, $p_autoFocus = null ) : string
$p_articleNumber integer
$p_languageId integer
return string

GetMapTagList() public static method

public static GetMapTagList ( $p_articleNumber, $p_languageId ) : string
return string

__construct() public method

public __construct ( IGeoMap $p_dbObject = null )
$p_dbObject IGeoMap

getLocations() protected method

Get locations
protected getLocations ( ) : array
return array of MetaMapLocation

isEnabled() protected method

Is Map enabled?
protected isEnabled ( ) : boolean
return boolean