Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
SchemaVersion Interface Reference
Inheritance diagram for SchemaVersion:
DBSchemaVersion

Public Member Functions

 getBranch ()
 
 getAllBranches ()
 
 get ($branch=0)
 
 set ($version, $branch=0)
 

Member Function Documentation

get (   $branch = 0)

Returns current schema version.

Parameters
string$branchschema branch (optional)
Returns
int schema version

Implemented in DBSchemaVersion.

getAllBranches ( )

Retrieve all branches of this schema.

Returns
array all schema branches

Implemented in DBSchemaVersion.

getBranch ( )

Retrieve the branch of this schema.

Returns
string schema branch

Implemented in DBSchemaVersion.

set (   $version,
  $branch = 0 
)

Sets the new schema version.

Parameters
int$versionnew schema version
string$branchschema branch (optional)

Implemented in DBSchemaVersion.


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