UNA
|
Public Member Functions | |
getMapSingle ($aLocation, $sLocationHtml='', $aParams=array()) | |
addCssJs () | |
Public Member Functions inherited from BxDolFactoryObject | |
getObjectName () | |
Static Public Member Functions | |
static | getObjectInstance ($sObject, $oTemplate=null) |
Static Public Member Functions inherited from BxDolFactoryObject | |
static | getObjectInstanceByClassNames ($sObject, $oTemplate, $sClassName, $sDbClassName) |
Static Public Member Functions inherited from iBxDolFactoryObject | |
static | getObjectInstance ($sObject) |
Protected Member Functions | |
__construct ($aObject, $oTemplate=null) | |
Protected Member Functions inherited from BxDolFactoryObject | |
__construct ($aObject, $oTemplate=null, $sDbClassName='') | |
Additional Inherited Members | |
Protected Attributes inherited from BxDolFactoryObject | |
$_oDb | |
$_oTemplate | |
$_sObject | |
$_aObject | |
This class allow different implementations for displaying maps.
Add record to sys_objects_location_map table, like you are doing this for Comments or Voting objects:
BxDolLocationMap::getMapSingle | ( | $aLocation, | |
$sLocationHtml = '', | |||
$aParams = array() ) |
Get location map for single address
$aLocation | location array with the following indexes: lat, lng, country, state, city, zip, street, street_number |
$sLocationHtml | formatted address string |
$aParams | some specific params |
Reimplemented in BxDolLocationMapGoogleStatic, and BxDolLocationMapLeaflet.
|
static |
Get object instance by object name
$sObject | object name |