Class DefaultPOWLStore

(line 35)

Description

DBStore
   |
   --DefaultPOWLStore

Located in File: /rdfsapi/store.php

DefaultPOWLStore


Classes extended from DefaultPOWLStore:
RDFSStore

Class Variables

Summary:
mixed $store
mixed $SysOnt
mixed $_models

$store (line 37)

Data type : mixed

$SysOnt (line 36)

Data type : mixed

$_models (line 38)

Data type : mixed

Class Constants

Summary:

Method Detail

Summary:
DefaultPOWLStore DefaultPOWLStore (string $dbDriver, string $host, string $dbName, string $user, string $password, [ $SysOntURI = false])
void aclCheck ( $accessType, [ $model = ''], [ $property = ''], [ $class = ''], [ $instance = ''])
void aclCompute ( $user,  $accessType,  $model, [ $property = ''], [ $class = ''], [ $instance = ''])
void aclGet ( $user,  $accessType, [ $model = ''], [ $property = ''], [ $class = ''], [ $instance = ''])
void createTables ()
void deleteModel ($modelURI $modelURI)
void getModel ( $modelURI, [ $importedURIs = array()])
void getNewModel ($modelURI $modelURI, [string $baseURI = ''], [string $type = 'RDFS'])
boolean isDatabaseCreated ([string $dbType = "MySQL"], string $dbName)
void isSetup ()
void listModels ([ $returnAsArray = false])
void loadModel ($modelURI $modelURI, [unknown $file = NULL], [boolean $loadImports = false], [boolean $stream = false], [ $filetype = NULL])
boolean modelExists (string $modelURI)

Constructor DefaultPOWLStore (line 50)

DefaultPOWLStore DefaultPOWLStore( string $dbDriver, string $host, string $dbName, string $user, string $password, [ $SysOntURI = false])

Constructor: Set the database connection with the given parameters.

Parameters

  • string $dbDriver:
  • string $host:
  • string $dbName:
  • string $user:
  • string $password:
  • $SysOntURI:

Info

  • access - public

Method aclCheck (line 213)

void aclCheck( $accessType, [ $model = ''], [ $property = ''], [ $class = ''], [ $instance = ''])

Parameters

  • $accessType:
  • $model:
  • $property:
  • $class:
  • $instance:

Info

Method aclCompute (line 229)

void aclCompute( $user, $accessType, $model, [ $property = ''], [ $class = ''], [ $instance = ''])

Parameters

  • $user:
  • $accessType:
  • $model:
  • $property:
  • $class:
  • $instance:

Info

Method aclGet (line 275)

void aclGet( $user, $accessType, [ $model = ''], [ $property = ''], [ $class = ''], [ $instance = ''])

Parameters

  • $user:
  • $accessType:
  • $model:
  • $property:
  • $class:
  • $instance:

Info

Method createTables (line 58)

void createTables( )

Info

Method deleteModel (line 189)

void deleteModel( $modelURI $modelURI)

POWLStore::deleteModel()

Parameters

  • $modelURI $modelURI:

Info

Method getModel (line 78)

void getModel( $modelURI, [ $importedURIs = array()])

Parameters

  • $modelURI:
  • $importedURIs:

Info

Method getNewModel (line 116)

void getNewModel( $modelURI $modelURI, [string $baseURI = ''], [string $type = 'RDFS'])

POWLStore::getNewModel()

Parameters

  • string $baseURI:
  • string $type:
  • $modelURI $modelURI:

Info

Method isDatabaseCreated (line 300)

boolean isDatabaseCreated( [string $dbType = "MySQL"], string $dbName)

This method checks whether a database with the fiven name exists.

Parameters

  • string $dbType: type of the database (e.g. MySQL)
  • string $dbName: name of the database

Info

  • return - Returns true in case the database exists, false else.

Method isSetup (line 308)

void isSetup( )

Info

Method listModels (line 61)

void listModels( [ $returnAsArray = false])

Parameters

  • $returnAsArray:

Info

Method loadModel (line 136)

void loadModel( $modelURI $modelURI, [unknown $file = NULL], [boolean $loadImports = false], [boolean $stream = false], [ $filetype = NULL])

POWLStore::loadModel()

Parameters

  • unknown $file:
  • boolean $loadImports:
  • boolean $stream:
  • $modelURI $modelURI:
  • $filetype:

Info

Method modelExists (line 206)

boolean modelExists( string $modelURI)

Check if the DbModel with the given modelURI is already stored in the database

Parameters

  • string $modelURI:

Info

  • access - public
  • throws - SqlError

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


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