Stud.IP  jlu_3.3 Revision
DBSchemaVersion Class Reference
Inheritance diagram for DBSchemaVersion:
Inheritance graph
Collaboration diagram for DBSchemaVersion:
Collaboration graph

Public Member Functions

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

Member Function Documentation

◆ DBSchemaVersion()

DBSchemaVersion (   $domain = 'studip')

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

Parameters
string$domaindomain name (optional)

◆ get()

get ( )

Retrieve the current schema version.

Returns
int schema version

Reimplemented from SchemaVersion.

◆ get_domain()

get_domain ( )

Retrieve the domain name of this schema.

Returns
string domain name

◆ set()

set (   $version)

Set the current schema version.

Parameters
int$versionnew schema version

Reimplemented from SchemaVersion.

Here is the call graph for this function:

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