Метод |
Описание |
|
GetArticleMapId ( $p_articleObj ) : integer |
Gives map id of the article |
|
GetGeoSearchSQLQuery ( array $p_coordinates ) : string |
Gives the SQL query for article searching via their point inside the box specified by the p_coordinates. |
|
GetLocationsByArticle ( $p_articleObj ) : array |
Gives array of artilce's map's points: just point names (of the article object language) and usage flags. |
|
GetMapByArticle ( integer $p_articleNumber ) : Geo_Map |
|
|
GetMapFilterBody ( ) : string |
Gives the body map-placement part for the map filtering |
|
GetMapFilterCenter ( ) : string |
Gives the body map-centering (js call) part for the map filtering |
|
GetMapFilterHeader ( integer $p_mapWidth, integer $p_mapHeight ) : string |
Gives the header part for the map filtering |
|
GetMapFilterObjName ( ) : string |
Gives the name of the javascript object used for the map filtering |
|
GetMapId ( ) |
TODO: obsolete, use $this->getId() instead. |
|
GetMapIdByArticle ( integer $p_articleNumber ) : integer |
|
|
GetMapIdsByArticle ( $p_articleObj ) : array |
Gives array of article's maps, with usage flags. |
|
GetMapSearchBody ( ) : string |
Gives the body map-placement part for the map front end search by map-based rectangle selection |
|
GetMapSearchCenter ( ) : string |
Gives the body map-centering (js call) part for the map front end search by map-based rectangle selection |
|
GetMapSearchHeader ( integer $p_mapWidth, integer $p_mapHeight, mixed $p_bboxDivs = null ) : string |
Gives the header part for the map front end search by map-based rectangle selection
the optional p_bboxDivs array of divs for automatical setting of the box corners coordinates. |
|
GetMapTagBody ( integer $p_articleNumber, integer $p_languageId, $p_largeMap = false ) : string |
Gives the body map-placement part for the map front end presentation |
|
GetMapTagCenter ( integer $p_articleNumber, integer $p_languageId ) : string |
Gives the body map-centering (js call) part for the map front end presentation |
|
GetMapTagHeader ( integer $p_articleNumber, integer $p_languageId, integer $p_mapWidth, integer $p_mapHeight, array $p_options = null ) : string |
Gives the header part for the map front end presentation |
|
GetMapTagList ( integer $p_articleNumber, integer $p_languageId ) : string |
|
|
GetMapTagListData ( integer $p_articleNumber, integer $p_languageId ) : array |
Gives the body map-info and point-list part for the map front end presentation |
|
GetMapTagOpen ( integer $p_articleNumber, integer $p_languageId, $p_specifier = null ) : string |
Gives the body open-large-map link part for the article-map front end presentation |
|
GetMultiMapTagBody ( integer $p_languageId, integer $p_rank, $p_largeMap = false ) : string |
Gives the body map-placement part for the map front end presentation |
|
GetMultiMapTagCenter ( integer $p_languageId, $p_rank ) : string |
Gives the body map-centering (js call) part for the map front end presentation |
|
GetMultiMapTagHeader ( integer $p_languageId, $p_constraints, array $p_options, integer $p_offset, integer $p_limit, integer $p_mapWidth, integer $p_mapHeight, integer $p_rank ) : string |
Gives the header part for the multi-map front end presentation |
|
GetMultiMapTagList ( integer $p_languageId, array $p_constraints, array $p_options, string $p_label, integer $p_offset, integer $p_limit, integer $p_rank ) : string |
|
|
GetMultiMapTagListData ( integer $p_languageId, array $p_constraints, array $p_options, integer $p_offset, integer $p_limit, integer $p_rank ) : array |
Gives the body map-info and point-list part for the map front end presentation |
|
GetMultiMapTagOpen ( integer $p_languageId, integer $p_rank, $p_specifier = null ) : string |
Gives the body open-large-map link part for the multi-map front end presentation |
|
InsertPoints ( integer $p_mapId, integer $p_languageId, integer $p_articleNumber, array $p_insertion, array &$p_indices ) : array |
Inserts points (with locations and other contents) into the map. |
|
LoadMapData ( integer $p_mapId, integer $p_languageId, integer $p_articleNumber, $p_preview = false, $p_textOnly = false ) : array |
Load map data |
|
OnArticleCopy ( integer $p_srcArticleNumber, integer $p_destArticleNumber, array $p_copyTranslations, $p_userId = null ) : void |
Copy all the map-related pointers for the given article. |
|
OnArticleDelete ( integer $p_articleNumber ) : void |
This is called when the (last language of the) article is deleted
Remove map pointers to the given article. |
|
OnCreateTranslation ( integer $p_articleNumber, integer $p_srcLanguageId, integer $p_destLanguageId ) : void |
Copy all the pointers for the given article. |
|
OnLanguageDelete ( integer $p_articleNumber, integer $p_languageId ) : void |
This is called when a (non-last) language is deleted. |
|
ReadLanguagesByArticle ( integer $p_articleNumber ) : array |
Gives languages used at the map's article |
|
ReadLanguagesByMap ( integer $p_mapId ) : array |
Gives languages used at the map text contents |
|
ReadMapId ( integer $p_articleNumber, integer $p_rank = 1 ) : integer |
Gives id of article's map id |
|
ReadMapInfo ( string $p_type, integer $p_id ) : array |
Provides general information on a map, specified by map id or article number |
|
ReadMultiMapInfo ( ) |
fn ReadMapInfo |
|
RemovePoints ( integer $p_mapId, array $p_removal ) : boolean |
Removes points (with locations and other contents) from the map. |
|
StoreMapData ( integer $p_mapId, integer $p_languageId, integer $p_articleNumber, mixed $p_map = '', mixed $p_remove = '', mixed $p_insert = '', mixed $p_locations = '', mixed $p_contents = '', mixed $p_order = '' ) : array |
The main dispatcher for ajax based editing of maps |
|
UnlinkArticle ( $p_articleObj = null, $p_articleNumber ) : array |
Sets the article's map to be without an article link, to stay as a lone map. |
|
UpdateMap ( integer &$p_mapId, integer $p_articleNumber, array $p_map ) : integer |
Updates the basic information on the map. |
|
__construct ( integer $p_id = null ) : Map |
Constructor |
|
delete ( ) : void |
Deletes the map with all its points, translations, and other associated data. |
|
getArticleNumber ( ) : integer |
|
|
getDimensions ( ) : array |
|
|
getDisplayResolution ( ) : integer |
|
|
getId ( ) : integer |
|
|
getInitialCenterLatitude ( ) : double |
|
|
getInitialCenterLongitude ( ) : double |
|
|
getLastModified ( ) : timestamp |
|
|
getLocations ( ) : array |
|
|
getMapProvider ( ) : string |
|
|
getName ( ) : string |
|
|
getUser ( ) : User | null |
|
|
isEnabled ( ) : boolean |
|
|