Stud.IP  6.0
SchemaVersion Interface Reference
Inheritance diagram for SchemaVersion:
DBSchemaVersion

Public Member Functions

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

Member Function Documentation

◆ get()

get (   $branch = 0)

Returns current schema version.

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

Implemented in DBSchemaVersion.

◆ getAllBranches()

getAllBranches ( )

Retrieve all branches of this schema.

Returns
array all schema branches

Implemented in DBSchemaVersion.

◆ getBranch()

getBranch ( )

Retrieve the branch of this schema.

Returns
string schema branch

Implemented in DBSchemaVersion.

◆ set()

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: