Get configuration from database using the "MapContext" way of defining it.
Located in /org/geoprisma/config/PGSQLMapContextConfig.php (line 23)
org_geoprisma_config_Config | --org_geoprisma_config_PGSQLMapContextConfig
Inherited from org_geoprisma_config_Config
org_geoprisma_config_Config::$m_objArrayExclusiveUnboundWidgetName
Get widget feature name
Get application feature name
Get connection string.
Get config application id
Get config application name
Get config mapcontext id
Get config mapcontext name
Get config session id
Get config session name
Get datastore feature name
Get field feature name
return instanceof org_geoprisma_config_PGSQLMapContextConfig return instanceof org_geoprisma_config_Config return instanceof com_borealis_foundation_util_Singleton
Get mapcontext feature name
Get option table name using a given feature name.
Get option table suffix string
Get option table name using a given feature name.
Get relation table name using a given master feature name and a slave feature name.
Get resource feature name
Get service feature name
Get session feature name
Get table name using a given feature name.
Get widget feature name
Get whether the config should use the 'legacy' widgets (Map and MapFishLayerTree) or not (MapPanel and Layer).
Set accessfilter feature name
Set application feature name
Set connection string.
Set config application id
Set config application name
Set config mapcontext id
Set config mapcontext name
Set config session id
Set config session name
Set datastore feature name
Set field feature name
Set mapcontext feature name
Set option table suffix string
Set resource feature name
Set service feature name
Set session feature name
Set table prefix string
Set widget feature name
Set legacy widget using (flag)
Add a new clone name in the 'clone' array using the original name as the key.
This config driver sometimes clones widget and change their name. The names that appears in some widgets have to be changed accordingly.
This is done using the 'getCloneNames' method.
Retorrne un object accessfilter
Retorrne la liste des accessfilter disponible
Returns how many resources the current loaded mapcontext has and which resources and actions the current logged role has access to (their names).
Returns the array of clone names. If the 'key' parameter is set, returns only a portion of the array (if it exists, else returns false).
Retourne un object datastore
Retourne la liste des datastores disponible
Returns an array of foreign ids from a record list
Browse each resource option. If it's an option ending by any servicetype, check if it's equal to given servicetype in parameter. If not, skip the option.
Then, if the option is inside the 'LayersResourcesOptions' array, use the alternate name (the key is the resource option, the value is the related layer option to use instead).
Finally, push the option inside an array. In the end, this method returns the complete list of options from a resource for a specific layer given a servicetype.
Returns the layer 'resource options' array.
Only used when isUsingLegacyWidgets() == true
Retourne un object layout
Retourne la liste des layouts disponible
Get org_geoprisma_widget_MapFishLayerTree widget
Only used if isUsingLegacyWidgets() == true
Retourne la liste de tous les resources disponibles.
Get records from specific table.
Retourne un object resource
Get reource name strings from current request (from the 'osmresource' parameter). This is the first method called by this config.
If there ARE resources in the url, that means the access is made from the proxy, so we don't need to load everything, just the requested Resources, their DataStores and Services.
Retourne la liste des resources disponible du mapcontext
Retourne un object service
Retourne la liste de service disponible service
Retourne un object widget
Retourne la liste des widget disponible
Using current 'Application' id, load : Layout and Widgets
Using current 'MapContext' id, load : Resources, DataStores, Services, Fields and MapWidget.
Using a resource ids array, load : Resources, DataStores, Services and (optionnally) Fields.
Using current 'Session' id or name, get the according 'MapContext' and 'Application' ids and load them.
For each resource, create 'layer' widgets according to the datastores they have, link them to and append them to widget array.
Only used if isUsingLegacyWidgets() != true
Load the 'org_geoprisma_layout_Layout' object using the application record.
Create the 'mappanel' widget and append it to widget array using the MapContext record.
Only used if isUsingLegacyWidgets() != true
Load 'org_geoprisma_widget_MapWidget' object and append to widget array using MapContext record.
Load all 'org_geoprisma_resource_Resource' objects inside the other resource array.
Load all 'org_geoprisma_resource_Resource' objects inside the resource array using resource records. Since widgets are no longer directly attached to resources, they are loaded separately.
Load all 'org_geoprisma_service_Service' object inside the service array from the database.
Load all 'org_geoprisma_widget_Widget' objects inside the widget array using widget records.
Set a new property to an array. If the property already exists, create a 'parent' property with the same name + an 's' at the end and push the values into it. If the 'parent' array already exists, simply push it.
Inherited From org_geoprisma_config_Config
org_geoprisma_config_Config::canonicalize()
org_geoprisma_config_Config::getAccessFilter()
org_geoprisma_config_Config::getAccessFilters()
org_geoprisma_config_Config::getCanonicalizeProxyURLs()
org_geoprisma_config_Config::getDatastore()
org_geoprisma_config_Config::getDatastores()
org_geoprisma_config_Config::getDomDocument()
org_geoprisma_config_Config::getLayout()
org_geoprisma_config_Config::getLayouts()
org_geoprisma_config_Config::getProcessList()
org_geoprisma_config_Config::getProxyURLs()
org_geoprisma_config_Config::getResource()
org_geoprisma_config_Config::getResources()
org_geoprisma_config_Config::getService()
org_geoprisma_config_Config::getServices()
org_geoprisma_config_Config::getWidget()
org_geoprisma_config_Config::getWidgets()
org_geoprisma_config_Config::isExclusiveUnboundWidget()
org_geoprisma_config_Config::isProxyURL()
org_geoprisma_config_Config::isServiceHost()
Documentation generated on Thu, 19 Jan 2012 00:08:48 +0400 by phpDocumentor 1.4.1