File: /modules/webservice/functions.inc.php

Description

Classes defined in this file

CLASS NAME

DESCRIPTION

Include/Require Statements

Global Variables

Constants

Functions

get_functionName4Type (line 400)

Wenservice get_functionName4Type( string $kindOfObject)

Gets a functionname for a ObjectType

Parameters

  • string $kindOfObject: Objectentype

Info

  • return - Functionname

IsNotInternalMethod (line 213)

true IsNotInternalMethod( string $string)

Checks method to be a not-internal method, because internal shouldn't be displayed

Parameters

  • string $string: Name of the method

Info

  • return - if it's not beginning with '_', false else

prepare_result (line 224)

resultobject prepare_result( $result $result)

Creates an 'internaltype' result-array

Parameters

  • $result $result: some result-object

Info

  • return - as internaltype array

print_allmethods (line 364)

html print_allmethods( array $data, integer $id)

Print all methods of object with given Position im interaltype-array

Parameters

  • array $data: Data as internaltype
  • integer $id: Position of object in array

Info

  • return - -table-part as string with all methods

print_class (line 495)

html print_class( array $data, $Id)

Prints data of a Class as htmltableline

Parameters

  • array $data: pOWL Class as internaltype
  • $Id:

Info

  • return - -table line with data

print_data (line 298)

void print_data( $data, $head, [ $Id = 0])

Prints data as lines of a htmltable

$data -> the data

$head -> with(1)/without(0) names for the row

$Id -> elementId

Parameters

  • $data:
  • $head:
  • $Id:

Info

print_error (line 579)

void print_error( $errorMessage)

Parameters

  • $errorMessage:

Info

print_head (line 432)

rownames print_head( string $type)

Gets the rownames for a type as line of a htmltable

Parameters

  • string $type: Type of an object

Info

print_instance (line 512)

html print_instance( array $data, $Id)

Prints data of a Instance as htmltableline

Parameters

  • array $data: pOWL Instance as internaltype
  • $Id:

Info

  • return - -table line with data

print_model (line 474)

html print_model( array $model, $Id)

Prints data of a model as htmltableline

Parameters

  • array $model: pOWL Model as internaltype
  • $Id:

Info

  • return - -table line with data

print_null (line 574)

html print_null( )

Prints error message as htmltableline

Info

  • return - -table line with errormessage

print_property (line 530)

html print_property( array $data, $Id)

Prints data of a Property as htmltableline

Parameters

  • array $data: pOWL Property as internaltype
  • $Id:

Info

  • return - -table line with data

print_simple (line 564)

html print_simple( $data $data)

Prints data of a simple type as htmltableline

Parameters

  • $data $data: simple data

Info

  • return - -table line with data

print_unknown (line 547)

html print_unknown( array $data, $Id)

Prints data of a unknown Object as htmltableline

Parameters

  • array $data: unknown Object as internaltype
  • $Id:

Info

  • return - -table line with data

_classMethod (line 112)

internaltype _classMethod( string $uri, string $method, $parameter_array, string $paramaeter_array)

Calls a method of a class and hands parameters array over

Parameters

  • string $uri: Class-uri to work on
  • string $method: A method to call
  • string $paramaeter_array: Array with parameters for calling function
  • $parameter_array:

Info

  • return - with result

_importModel (line 196)

1 _importModel( string $modelURI, string $baseuri, string $modelSpec)

Imports a model in local pOWL

Parameters

  • string $modelURI: is Uri of the model
  • string $baseuri: is Baseuri of the model
  • string $modelSpec: the model as rdfs-string

Info

_instanceMethod (line 53)

internaltype _instanceMethod( string $uri, string $method, string $parameter_array)

Calls a method of an instance and hands parameters array over

Parameters

  • string $uri: Instanceuri to work on
  • string $method: A method to call
  • string $parameter_array: Array with parameters for calling function

Info

  • return - with result

_listInstallations (line 137)

array _listInstallations( )

Gives all registred pOWL-Installations here back

Info

  • return - with "servername"->"severUrl" data

_modelMethod (line 25)

internaltype _modelMethod( string $model2use, string $method, $parameter_array, string $paramaeter_array)

Calls a method of a model and hands parameters array over

Parameters

  • string $model2use: Modeluri to work on
  • string $method: A method to call
  • string $paramaeter_array: Array with parameters for calling function
  • $parameter_array:

Info

  • return - with result

_pingServer (line 183)

void _pingServer( $x)

Testfunction zur Feststellunf der Verfügbarkeit dieses Webservices

Parameters

  • $x:

Info

_powlMethod (line 10)

internaltype _powlMethod( string $method, $parameter_array, string $paramaeter_array)

Calls a method of a pOWL and hands array with parameters over

Parameters

  • string $method: A method to call
  • string $paramaeter_array: Array with parameters for calling function
  • $parameter_array:

Info

  • return - with result

_propertyMethod (line 83)

internaltype _propertyMethod( string $uri, string $method, string $parameter_array)

Calls a method of a property and hands parameters array over

Parameters

  • string $uri: Property-uri to work on
  • string $method: A method to call
  • string $parameter_array: Array with parameters for calling function

Info

  • return - with result

_registerInstallation (line 157)

TRUE _registerInstallation( string $name, string $serverURL)

Registered pOWL-Installation here

Parameters

  • string $name: Name of the Installation
  • string $serverURL: URI of the WebserviceServer

Info

  • return - or error message

Documentation generated on Tue, 07 Nov 2006 13:06:55 +0100 by phpDocumentor 1.3.0