Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
DBSchemaVersion Class Reference
Inheritance diagram for DBSchemaVersion:
Inheritance graph
Collaboration diagram for DBSchemaVersion:
Collaboration graph

Public Member Functions

 DBSchemaVersion ($domain= 'studip')
 get_domain ()
 init_schema_info ()
 get ()
 set ($version)

Data Fields

 $domain
 $db
 $version
 $update

Member Function Documentation

DBSchemaVersion (   $domain = 'studip')

Initialize a new DBSchemaVersion for a given domain. The default domain name is 'studip'.

Parameters
string$domaindomain name (optional)

Here is the call graph for this function:

get ( )

Retrieve the current schema version.

Returns
int schema version

Reimplemented from SchemaVersion.

get_domain ( )

Retrieve the domain name of this schema.

Returns
string domain name
init_schema_info ( )

Initialize the current schema version.

private

Here is the caller graph for this function:

set (   $version)

Set the current schema version.

Parameters
int$versionnew schema version

Reimplemented from SchemaVersion.

Field Documentation

$db
$domain
$update
$version

The documentation for this class was generated from the following file: