DDMS
[ class tree: DDMS ] [ index: DDMS ] [ all elements ]

Class: ExternalDataServerConnection

Source Location: /rvtwo/classes/DDMSClient/externalDataServerConnection.php

Class Overview

DB
   |
   --ExternalDataServerConnection

Class Description: The overarching class in the Distributed Data Management Client package (see package.php for documentation of the DDMS package.). This is the only class in the system that is directly used by the business application that uses the DDMS.


Author(s):

  • Jan van der Breggen

Variables

Methods



Class Details

[line 15]
Class Description: The overarching class in the Distributed Data Management Client package (see package.php for documentation of the DDMS package.). This is the only class in the system that is directly used by the business application that uses the DDMS.

During its construction the DDMS client's configuration settings are loaded into the class variables. The configuration settings are stored the DDMSs database tables (???) and its config file (??????.ini).




Tags:

author:  Jan van der Breggen
see:  package.php
since:  : 29/04/2009


[ Top ]


Class Variables

$localDataObjects = array()

[line 19]



Tags:

access:  private

Type:   mixed


[ Top ]

$urlConnection =

[line 18]



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 22]

ExternalDataServerConnection __construct( )



[ Top ]

method getObject [line 62]

void getObject( $objectName)



Parameters:

   $objectName  

[ Top ]

method getObjects [line 110]

array getObjects( array $objectNames)



Tags:

return:  of type ExternallyLinkedOrm


Parameters:

array   $objectNames   of type string $objectNames, table_name values

[ Top ]

method getReferringObjects [line 120]

void getReferringObjects( $referredTableName)



Parameters:

   $referredTableName  

[ Top ]

method getUrlConnection [line 57]

void getUrlConnection( )



[ Top ]

method refreshLocalData [line 44]

void refreshLocalData( )



[ Top ]

method _orderDataObjects [line 80]

void _orderDataObjects( $dataObjects)

sorts the localDataObjects array to reflect referential integrity.

When data is loaded into linked tables, either at system setup time, or during refresh data event, records with references to local key values of other tables should be loaded after the records they refer to was loaded and local key values what will be the foreign keys were generated pre: none post: the localDataObjects array will be sorted in such a way that for each table Y with references to local_key values in table X, table X will be located at a lower array index than table Y. Tables that are 'select only' will be put at the beginning of the array (even if these tables have references to linked tables with local_key values, they will always have the remote_key value as their foreign key)




Tags:

access:  private


Parameters:

   $dataObjects  

[ Top ]


Documentation generated on Mon, 18 May 2009 11:21:49 +0200 by phpDocumentor 1.4.1