Property | Type | Description | |
---|---|---|---|
$m_columnNames | array | ||
$m_dbTableName | string | ||
$m_keyColumnNames | array |
Method | Description | |
---|---|---|
CleanFound ( ) | ||
GetByMap ( IGeoMap $map ) : array | Get locations by map | |
GetGeoSearchPointInPolygon ( mixed $p_coordinates, string $p_tableAlias = 'l' ) : mixed | Returns SQL query for limiting POIs on a given polygon by a previously defined stored function | |
GetGeoSearchSQLCons ( mixed $p_coordinates, string $p_polygonType = 'rectangle', string $p_tableAlias = 'l' ) : mixed | Returns SQL query for limiting POIs on a given polygon | |
GetList ( array $p_parameters, array $p_order = [], integer $p_start, integer $p_limit, &$p_count, $p_skipCache = false ) : array | Returns map locations list based on the given parameters. | |
GetListExt ( array $p_parameters, array $p_order = [], integer $p_start, integer $p_limit, integer &$p_count, boolean $p_skipCache = false, array &$p_rawData = null ) : array | Returns map locations list based on the given parameters. | |
__construct ( mixed $arg = NULL, $p_forceExists = false ) | ||
getContent ( integer $language ) : IGeoMapLocationContent | Get content | |
getId ( ) : integer | Get id | |
getLanguage ( integer $language ) : IGeoMapLocationLanguage | Get content | |
getLatitude ( ) : float | Get latitude | |
getLongitude ( ) : float | Get longitude | |
getMultimedia ( ) : array | Get multimedia | |
isEnabled ( $language ) : boolean | Point is displayable? | |
setContent ( $p_languageId, IGeoMapLocationContent $p_contentObj ) | ||
setLanguage ( $p_languageId, IGeoMapLocationLanguage $p_languageObj ) |
Method | Description | |
---|---|---|
getLocation ( ) : IGeoLocation | Get location |
public static GetGeoSearchSQLCons ( mixed $p_coordinates, string $p_polygonType = 'rectangle', string $p_tableAlias = 'l' ) : mixed | ||
$p_coordinates | mixed | An array of coordinate lon/lat pairs |
$p_polygonType | string | Polygon type: rectangle (two corners), or polygons with clockwise or counterclockwise corners |
$p_tableAlias | string | Table prefix for the SQL query |
return | mixed |
public static GetList ( array $p_parameters, array $p_order = [], integer $p_start, integer $p_limit, &$p_count, $p_skipCache = false ) : array | ||
$p_parameters | array | An array of ComparionOperation objects |
$p_order | array | An array of columns and directions to order by |
$p_start | integer | The record number to start the list |
$p_limit | integer | The offset. How many records from $p_start will be retrieved. |
return | array | of IGeoMapLocation |
public static GetListExt ( array $p_parameters, array $p_order = [], integer $p_start, integer $p_limit, integer &$p_count, boolean $p_skipCache = false, array &$p_rawData = null ) : array | ||
$p_parameters | array | An array of ComparionOperation objects |
$p_order | array | An array of columns and directions to order by |
$p_start | integer | The record number to start the list |
$p_limit | integer | The offset, how many records from $p_start will be retrieved |
$p_count | integer | Total count of POIs without p_start/p_limit limitations |
$p_skipCache | boolean | Whether to skip caching |
$p_rawData | array | The variable for returning read points as raw array, used for the JS processing |
return | array |
public __construct ( mixed $arg = NULL, $p_forceExists = false ) | ||
$arg | mixed |
public getContent ( integer $language ) : IGeoMapLocationContent | ||
$language | integer | |
return | IGeoMapLocationContent |
public getLanguage ( integer $language ) : IGeoMapLocationLanguage | ||
$language | integer | |
return | IGeoMapLocationLanguage |
public getMultimedia ( ) : array | ||
return | array | of IGeoMultimedia |
public setContent ( $p_languageId, IGeoMapLocationContent $p_contentObj ) | ||
$p_contentObj | IGeoMapLocationContent |
public setLanguage ( $p_languageId, IGeoMapLocationLanguage $p_languageObj ) | ||
$p_languageObj | IGeoMapLocationLanguage |