Class org_geoprisma_config_PGSQLMapContextConfig

Description

Get configuration from database using the "MapContext" way of defining it.

  • author: Alexandre Dube

Located in /org/geoprisma/config/PGSQLMapContextConfig.php (line 23)

org_geoprisma_config_Config
   |
   --org_geoprisma_config_PGSQLMapContextConfig
Variable Summary
Method Summary
static string getAccessFilterFeatureName ()
static string getApplicationFeatureName ()
static string getConnectionString ()
static integer getCurrentApplication ()
static string getCurrentApplicationName ()
static integer getCurrentMapContext ()
static string getCurrentMapContextName ()
static integer getCurrentSession ()
static string getCurrentSessionName ()
static string getDataStoreFeatureName ()
static string getFieldFeatureName ()
static string getMapContextFeatureName ()
static string getOptionTableName (string $pstrFeatureName)
static string getOptionTableSuffix ()
static string getRelationOptionTableName (string $pstrMasterFeatureName, string $pstrSlaveFeatureName)
static string getRelationTableName (string $pstrMasterFeatureName, string $pstrSlaveFeatureName)
static string getResourceFeatureName ()
static string getServiceFeatureName ()
static string getSessionFeatureName ()
static string getTableName (string $pstrFeatureName)
static string getTablePrefix ()
static string getWidgetFeatureName ()
static boolean isUsingLegacyWidgets ()
static void setAccessFilterFeatureName (string $pstrValue)
static void setApplicationFeatureName (string $pstrValue)
static void setConnectionString (string $pstrConnection)
static void setCurrentApplication (integer $piValue)
static void setCurrentApplicationName (string $pstrValue)
static void setCurrentMapContext (integer $piValue)
static void setCurrentMapContextName (string $pstrValue)
static void setCurrentSession (integer $piValue)
static void setCurrentSessionName (string $pstrValue)
static void setDataStoreFeatureName (string $pstrValue)
static void setFieldFeatureName (string $pstrValue)
static void setMapContextFeatureName (string $pstrValue)
static void setOptionTableSuffix (string $pstrValue)
static void setResourceFeatureName (string $pstrValue)
static void setServiceFeatureName (string $pstrValue)
static void setSessionFeatureName (string $pstrValue)
static void setTablePrefix (string $pstrValue)
static void setWidgetFeatureName (string $pstrValue)
static void useLegacyWidgets (string $pstrValue)
void addCloneName (string $pstrOriginalName, string $pstrCloneName)
void connect ()
void disconnect ()
org_geoprisma_accessfilter_AccessFilter getAccessFilter (string $pstrAccessFilterName, [boolean $pbKey = false])
ArrayObject getAccessFilters ()
array getAuthorizedResources ([array $pobjArrayActions = array("read")], [array $pobjArrayOptions = array('otherResources' => false)])
array getCloneNames ([string $pstrKey = false])
org_geoprisma_datastore_Datastore getDatastore (string $pstrDatastoreName)
ArrayObject getDatastores ()
org_geoprisma_field_Field getField (string $piFieldId)
ArrayObject getFields ()
array getForeignIds (array $pobjArrayRecords, string $pstrForeignFeature)
array getLayerOptionsFromResourceOptions (array $pobjArrayResourceOptions, string &$pstrServiceType)
org_geoprisma_layout_Layout getLayout (string $pstrLayoutName)
ArrayObject getLayouts ()
org_geoprisma_widget_MapFishLayerTree getMapFishLayerTreeWidget ()
ArrayObject getOtherResources ()
void getRecords (sring $pstrFeature, [array $pobjArrayOptions = array()])
org_geoprisma_resource_Resource getResource (string $pstrResourceName)
ArrayObject getResources ()
org_geoprisma_service_Service getService (string $pstrServiceName)
ArrayObject getServices ()
array getServiceTypes ()
org_geoprisma_widget_Widget getWidget (string $pstrWidgetName)
ArrayObject getWidgets ()
void load ()
void loadFromResourceList (array $pobjArrayResourceIds, [array $pobjArrayOptions = array('loadFields' => true, 'otherResources' => false)])
void loadFromSession ()
void loadLayout (array $pobjApplication)
void loadMapPanelWidget (array $pobjMapContext)
void loadMapWidget (array $pobjMapContext)
void loadResources (array $pobjArrayResources, [array $pobjArrayOptions = array('otherResources' => false)])
void loadServices (array $pobjArrayServices)
void loadWidgets (array $pobjArrayWidgets)
void setOptionValue ( &$pobjArrayOptions, string $pstrName, object $pobjValue)
Variables
mixed $m_objArrayAccessFilter = null (line 40)
  • access: protected
array $m_objArrayApplicationTypes = array(
1 => "extjs"
)
(line 127)
  • access: protected
array $m_objArrayClonedWidgetNames = null (line 48)
  • access: protected
mixed $m_objArrayDatastore = null (line 38)
  • access: protected
mixed $m_objArrayField = null (line 43)
  • access: protected
array $m_objArrayLayerResourceOptions = array(
"visibility" => "visibility",
"maxscaledenom" => "minscale",
"minscaledenom" => "maxscale"
)
(line 95)
  • var: Only used if isUsingLegacyWidgets() != true
  • access: protected
mixed $m_objArrayLayout = null (line 37)
  • access: protected
mixed $m_objArrayOtherResource = null (line 42)
  • access: protected
mixed $m_objArrayProcessList = array(
"getProcessList",
"getAuthorizedResources"
)
(line 101)
  • access: protected

Redefinition of:
org_geoprisma_config_Config::$m_objArrayProcessList
mixed $m_objArrayResource = null (line 41)
  • access: protected
mixed $m_objArrayService = null (line 36)
  • access: protected
array $m_objArrayServiceTypes = array(
1 => org_geoprisma_service_WMSService::TYPE,
2 => org_geoprisma_service_TileCacheService::TYPE,
3 => org_geoprisma_service_FeatureServerService::TYPE,
4 => org_geoprisma_service_GYMOService::TYPE,
5 => org_geoprisma_service_WidgetService::TYPE,
6 => org_geoprisma_service_MapServerService::TYPE,
7 => org_geoprisma_service_MapFishPrintService::TYPE,
8 => org_geoprisma_service_FileService::TYPE,
9 => org_geoprisma_service_WFSService::TYPE,
10 => org_geoprisma_service_HttpRequestService::TYPE,
11 => org_geoprisma_service_WPSService::TYPE,
12 => org_geoprisma_service_TMSService::TYPE
)
(line 109)
  • access: protected
mixed $m_objArrayWidget = null (line 39)
  • access: protected
array $m_objArrayWidgetTypes = array(
2 => "map",
3 => "mapfishlayertree",
4 => "mapfishrecenter",
5 => "measuretool",
7 => "queryonclick",
9 => "resultextgrid",
11 => "initialview",
12 => "zoomslider",
13 => "mouseposition",
14 => "getmouseposition",
15 => "scale",
16 => "editfeature_create",
17 => "editfeature_update",
18 => "editfeature_delete",
19 => "featurepanel_form",
20 => "featurepanel_selector",
22 => "geoexttoolbar",
25 => "shortcut",
26 => "geoextux_geonamessearchcombo",
27 => "geoextux_redliningpanel",
28 => "pdfprint",
29 => "wmslayeradder",
30 => "geoextux_shortcutcombo",
31 => "geoextux_zoomto",
32 => "htwindow",
33 => "unselectall",
34 => "geoextprintform",
35 => "filetreepanel",
36 => "geoextux_layertreebuilder",
37 => "mappanel",
38 => "layer",
39 => "querybyrect",
40 => "featurepanel_attributeform",
41 => "featurepanel_customform",
42 => "geoextux_wmsbrowser",
43 => "vectorlayer",
44 => "resultvectorlayer",
45 => "queryonclickwizard",
46 => "geoextux_printpreview",
47 => "wfsfilterbuilder",
48 => "templatepopup",
49 => "toggle",
50 => "editfeature_split",
51 => "editfeature_drag",
52 => "editfeature_copy",
53 => "editfeature_confirm",
54 => "keepactivesession",
55 => "applyfilter",
// for user-defined widgets, use numbers grater than 9999 ??
10000 => "livemarker",
10666 => "multiprojectionmouseposition"

)
(line 134)
  • access: protected

Inherited Variables

Inherited from org_geoprisma_config_Config

org_geoprisma_config_Config::$m_objArrayExclusiveUnboundWidgetName
Methods
static method getAccessFilterFeatureName (line 2558)

Get widget feature name

  • access: public
static string getAccessFilterFeatureName ()
static method getApplicationFeatureName (line 2568)

Get application feature name

  • access: public
static string getApplicationFeatureName ()
static method getConnectionString (line 2417)

Get connection string.

  • access: public
static string getConnectionString ()
static method getCurrentApplication (line 2478)

Get config application id

  • access: public
static integer getCurrentApplication ()
static method getCurrentApplicationName (line 2488)

Get config application name

  • access: public
static string getCurrentApplicationName ()
static method getCurrentMapContext (line 2458)

Get config mapcontext id

  • access: public
static integer getCurrentMapContext ()
static method getCurrentMapContextName (line 2468)

Get config mapcontext name

  • access: public
static string getCurrentMapContextName ()
static method getCurrentSession (line 2438)

Get config session id

  • access: public
static integer getCurrentSession ()
static method getCurrentSessionName (line 2448)

Get config session name

  • access: public
static string getCurrentSessionName ()
static method getDataStoreFeatureName (line 2508)

Get datastore feature name

  • access: public
static string getDataStoreFeatureName ()
static method getFieldFeatureName (line 2528)

Get field feature name

  • access: public
static string getFieldFeatureName ()
static method getInstance (line 2126)

return instanceof org_geoprisma_config_PGSQLMapContextConfig return instanceof org_geoprisma_config_Config return instanceof com_borealis_foundation_util_Singleton

  • access: public
static method getMapContextFeatureName (line 2538)

Get mapcontext feature name

  • access: public
static string getMapContextFeatureName ()
static method getOptionTableName (line 2622)

Get option table name using a given feature name.

  • access: public
static string getOptionTableName (string $pstrFeatureName)
  • string $pstrFeatureName: Name of the feature
static method getOptionTableSuffix (line 2598)

Get option table suffix string

  • access: public
static string getOptionTableSuffix ()
static method getRelationOptionTableName (line 2650)

Get option table name using a given feature name.

  • access: public
static string getRelationOptionTableName (string $pstrMasterFeatureName, string $pstrSlaveFeatureName)
  • string $pstrMasterFeatureName: Name of the master feature
  • string $pstrSlaveFeatureName: Name of the slave feature
static method getRelationTableName (line 2636)

Get relation table name using a given master feature name and a slave feature name.

  • access: public
static string getRelationTableName (string $pstrMasterFeatureName, string $pstrSlaveFeatureName)
  • string $pstrMasterFeatureName: Name of the master feature
  • string $pstrSlaveFeatureName: Name of the slave feature
static method getResourceFeatureName (line 2518)

Get resource feature name

  • access: public
static string getResourceFeatureName ()
static method getServiceFeatureName (line 2498)

Get service feature name

  • access: public
static string getServiceFeatureName ()
static method getSessionFeatureName (line 2578)

Get session feature name

  • access: public
static string getSessionFeatureName ()
static method getTableName (line 2610)

Get table name using a given feature name.

  • access: public
static string getTableName (string $pstrFeatureName)
  • string $pstrFeatureName: Name of the feature
static method getTablePrefix (line 2588)

Get table prefix string

  • access: public
static string getTablePrefix ()
static method getWidgetFeatureName (line 2548)

Get widget feature name

  • access: public
static string getWidgetFeatureName ()
static method isUsingLegacyWidgets (line 2662)

Get whether the config should use the 'legacy' widgets (Map and MapFishLayerTree) or not (MapPanel and Layer).

  • access: public
static boolean isUsingLegacyWidgets ()
static method setAccessFilterFeatureName (line 2848)

Set accessfilter feature name

  • access: public
static void setAccessFilterFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setApplicationFeatureName (line 2860)

Set application feature name

  • access: public
static void setApplicationFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setConnectionString (line 2691)

Set connection string.

  • access: public
static void setConnectionString (string $pstrConnection)
  • string $pstrConnection: Connection string used when connecting to database
static method setCurrentApplication (line 2751)

Set config application id

  • access: public
static void setCurrentApplication (integer $piValue)
  • integer $piValue: Value
static method setCurrentApplicationName (line 2763)

Set config application name

  • access: public
static void setCurrentApplicationName (string $pstrValue)
  • string $pstrValue: Value
static method setCurrentMapContext (line 2727)

Set config mapcontext id

  • access: public
static void setCurrentMapContext (integer $piValue)
  • integer $piValue: Value
static method setCurrentMapContextName (line 2739)

Set config mapcontext name

  • access: public
static void setCurrentMapContextName (string $pstrValue)
  • string $pstrValue: Value
static method setCurrentSession (line 2703)

Set config session id

  • access: public
static void setCurrentSession (integer $piValue)
  • integer $piValue: Value
static method setCurrentSessionName (line 2715)

Set config session name

  • access: public
static void setCurrentSessionName (string $pstrValue)
  • string $pstrValue: Value
static method setDataStoreFeatureName (line 2787)

Set datastore feature name

  • access: public
static void setDataStoreFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setFieldFeatureName (line 2811)

Set field feature name

  • access: public
static void setFieldFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setMapContextFeatureName (line 2823)

Set mapcontext feature name

  • access: public
static void setMapContextFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setOptionTableSuffix (line 2896)

Set option table suffix string

  • access: public
static void setOptionTableSuffix (string $pstrValue)
  • string $pstrValue: Value
static method setResourceFeatureName (line 2799)

Set resource feature name

  • access: public
static void setResourceFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setServiceFeatureName (line 2775)

Set service feature name

  • access: public
static void setServiceFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setSessionFeatureName (line 2872)

Set session feature name

  • access: public
static void setSessionFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method setTablePrefix (line 2884)

Set table prefix string

  • access: public
static void setTablePrefix (string $pstrValue)
  • string $pstrValue: Value
static method setWidgetFeatureName (line 2835)

Set widget feature name

  • access: public
static void setWidgetFeatureName (string $pstrValue)
  • string $pstrValue: Value
static method useLegacyWidgets (line 2907)

Set legacy widget using (flag)

  • access: public
static void useLegacyWidgets (string $pstrValue)
  • string $pstrValue: Value
addCloneName (line 866)

Add a new clone name in the 'clone' array using the original name as the key.

  • access: protected
void addCloneName (string $pstrOriginalName, string $pstrCloneName)
  • string $pstrOriginalName: The original name
  • string $pstrCloneName: The name of the clone
adjustWidgetsContainingClonedWidgets (line 886)

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.

  • access: protected
void adjustWidgetsContainingClonedWidgets ()
connect (line 224)

Connect to database using connection string.

  • access: protected
void connect ()
disconnect (line 244)

Disconnect from database.

  • access: protected
void disconnect ()
getAccessFilter (line 1994)

Retorrne un object accessfilter

  • access: public
org_geoprisma_accessfilter_AccessFilter getAccessFilter (string $pstrAccessFilterName, [boolean $pbKey = false])
  • string $pstrAccessFilterName: AccessFilter name
  • boolean $pbKey: Returns the key or the value. 'value' by default.

Redefinition of:
org_geoprisma_config_Config::getAccessFilter()
Retorrne un object accessfilter
getAccessFilters (line 2013)

Retorrne la liste des accessfilter disponible

  • return: of org_geoprisma_accessfilter_AccessFilter
  • access: public
ArrayObject getAccessFilters ()

Redefinition of:
org_geoprisma_config_Config::getAccessFilters()
Retorrne la liste des accessfilter disponible
getAuthorizedResources (line 2326)

Returns how many resources the current loaded mapcontext has and which resources and actions the current logged role has access to (their names).

  • return: containing 2 keys : 'total' (integer), 'authorized' (array) and 'authorizedActions' (array)
  • access: public
array getAuthorizedResources ([array $pobjArrayActions = array("read")], [array $pobjArrayOptions = array('otherResources' => false)])
  • array $pobjArrayActions: Actions. In order to be considered 'authorized', the role must have all action defined there allowed.
  • array $pobjArrayOptions: Options for this method
getCloneNames (line 2295)

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).

  • return: or false
  • access: protected
array getCloneNames ([string $pstrKey = false])
  • string $pstrKey: Optional key refering to an orignal name. Defaults to false.
getDatastore (line 1930)

Retourne un object datastore

  • access: public
org_geoprisma_datastore_Datastore getDatastore (string $pstrDatastoreName)
  • string $pstrDatastoreName: Datastore name

Redefinition of:
org_geoprisma_config_Config::getDatastore()
Retorrne un object datastore
getDatastores (line 1949)

Retourne la liste des datastores disponible

  • return: of org_geoprisma_datastore_Datastore
  • access: public
ArrayObject getDatastores ()

Redefinition of:
org_geoprisma_config_Config::getDatastores()
Retorrne la liste des datastores disponible
getField (line 2071)

Get a specific field object using its id

  • access: public
org_geoprisma_field_Field getField (string $piFieldId)
  • string $piFieldId: Field id
getFields (line 2090)

Retourne la liste des fields disponible

  • return: of org_geoprisma_field_Field
  • access: public
ArrayObject getFields ()
getForeignIds (line 2144)

Returns an array of foreign ids from a record list

  • access: protected
array getForeignIds (array $pobjArrayRecords, string $pstrForeignFeature)
  • array $pobjArrayRecords: array of records
  • string $pstrForeignFeature: name of the foreign table
getLayerOptionsFromResourceOptions (line 2194)

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.

  • access: public
array getLayerOptionsFromResourceOptions (array $pobjArrayResourceOptions, string &$pstrServiceType)
  • array $pobjArrayResourceOptions: Array of options of a specific org_geoprisma_resource_Resource object.
  • string &$pstrServiceType: Service type
getLayerResourceOptions (line 2674)

Returns the layer 'resource options' array.

Only used when isUsingLegacyWidgets() == true

  • access: public
array getLayerResourceOptions ()
getLayout (line 1898)

Retourne un object layout

  • access: public
org_geoprisma_layout_Layout getLayout (string $pstrLayoutName)
  • string $pstrLayoutName: Layout name

Redefinition of:
org_geoprisma_config_Config::getLayout()
Retorrne un object layout
getLayouts (line 1917)

Retourne la liste des layouts disponible

  • return: of org_geoprisma_layout_Layout
  • access: public
ArrayObject getLayouts ()

Redefinition of:
org_geoprisma_config_Config::getLayouts()
Retorrne la liste des layouts disponible
getMapFishLayerTreeWidget (line 2102)

Get org_geoprisma_widget_MapFishLayerTree widget

Only used if isUsingLegacyWidgets() == true

  • return: or false if not found
  • access: public
org_geoprisma_widget_MapFishLayerTree getMapFishLayerTreeWidget ()
getOtherResources (line 2055)

Retourne la liste de tous les resources disponibles.

  • return: of org_geoprisma_resource_Resource
  • access: public
ArrayObject getOtherResources ()
getRecords (line 1453)

Get records from specific table.

  • access: protected
void getRecords (sring $pstrFeature, [array $pobjArrayOptions = array()])
  • sring $pstrFeature: Name of the feature we need to get
  • array $pobjArrayOptions: Array of options used to fetch more elements inside the records
getResource (line 2026)

Retourne un object resource

  • access: public
org_geoprisma_resource_Resource getResource (string $pstrResourceName)
  • string $pstrResourceName: Resource name

Redefinition of:
org_geoprisma_config_Config::getResource()
Retorrne un object resource
getResourceNamesFromRequest (line 2389)

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.

  • access: public
array getResourceNamesFromRequest ()
getResources (line 2045)

Retourne la liste des resources disponible du mapcontext

  • return: of org_geoprisma_resource_Resource
  • access: public
ArrayObject getResources ()

Redefinition of:
org_geoprisma_config_Config::getResources()
Retorrne la liste des resources disponible
getService (line 1847)

Retourne un object service

  • access: public
org_geoprisma_service_Service getService (string $pstrServiceName)
  • string $pstrServiceName: Service Name

Redefinition of:
org_geoprisma_config_Config::getService()
Retourne un object service
getServices (line 1886)

Retourne la liste de service disponible service

  • return: of org_geoprisma_service_Service
  • access: public
ArrayObject getServices ()

Redefinition of:
org_geoprisma_config_Config::getServices()
Retourne la liste de service disponible service
getServiceTypes (line 2428)

Returns all service types

  • access: public
array getServiceTypes ()
getWidget (line 1961)

Retourne un object widget

  • access: public
org_geoprisma_widget_Widget getWidget (string $pstrWidgetName)
  • string $pstrWidgetName: Widget name

Redefinition of:
org_geoprisma_config_Config::getWidget()
Retorrne un object widget
getWidgets (line 1980)

Retourne la liste des widget disponible

  • return: of org_geoprisma_widget_Widget
  • access: public
ArrayObject getWidgets ()

Redefinition of:
org_geoprisma_config_Config::getWidgets()
Retorrne la liste des widget disponible
load (line 259)

Get config from database.

  • access: protected
void load ()
loadFromApplication (line 553)

Using current 'Application' id, load : Layout and Widgets

  • access: protected
void loadFromApplication ()
loadFromMapContext (line 357)

Using current 'MapContext' id, load : Resources, DataStores, Services, Fields and MapWidget.

  • access: protected
void loadFromMapContext ()
loadFromResourceList (line 419)

Using a resource ids array, load : Resources, DataStores, Services and (optionnally) Fields.

  • access: protected
void loadFromResourceList (array $pobjArrayResourceIds, [array $pobjArrayOptions = array('loadFields' => true, 'otherResources' => false)])
  • array $pobjArrayResourceIds: A resource id list
  • array $pobjArrayOptions: Options for this method.
loadFromSession (line 316)

Using current 'Session' id or name, get the according 'MapContext' and 'Application' ids and load them.

  • access: protected
void loadFromSession ()
loadLayerWidgets (line 1145)

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

  • access: protected
void loadLayerWidgets ()
loadLayout (line 646)

Load the 'org_geoprisma_layout_Layout' object using the application record.

  • access: protected
void loadLayout (array $pobjApplication)
  • array $pobjApplication: A single application record.
loadMapPanelWidget (line 1122)

Create the 'mappanel' widget and append it to widget array using the MapContext record.

Only used if isUsingLegacyWidgets() != true

  • access: protected
void loadMapPanelWidget (array $pobjMapContext)
  • array $pobjMapContext: The MapContext record.
loadMapWidget (line 1262)

Load 'org_geoprisma_widget_MapWidget' object and append to widget array using MapContext record.

  • access: protected
void loadMapWidget (array $pobjMapContext)
  • array $pobjMapContext: The MapContext record.
loadOtherResources (line 1078)

Load all 'org_geoprisma_resource_Resource' objects inside the other resource array.

  • access: protected
void loadOtherResources ()
loadResources (line 975)

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.

  • access: protected
void loadResources (array $pobjArrayResources, [array $pobjArrayOptions = array('otherResources' => false)])
  • array $pobjArrayResources: Array of resource records
  • array $pobjArrayOptions: Array of options for this method
loadServices (line 624)

Load all 'org_geoprisma_service_Service' object inside the service array from the database.

  • access: protected
void loadServices (array $pobjArrayServices)
  • array $pobjArrayServices: Array of service records
loadWidgets (line 755)

Load all 'org_geoprisma_widget_Widget' objects inside the widget array using widget records.

  • access: protected
void loadWidgets (array $pobjArrayWidgets)
  • array $pobjArrayWidgets: Array of widget records
setOptionValue (line 1797)

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.

  • access: protected
void setOptionValue ( &$pobjArrayOptions, string $pstrName, object $pobjValue)
  • array &$pobjArrayOptions: Array of options
  • string $pstrName: The name of the option to set
  • object $pobjValue: The value of the new option to set

Inherited Methods

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