MediaWiki  REL1_24
MssqlUpdater Class Reference

Class for setting up the MediaWiki database using Microsoft SQL Server. More...

Inheritance diagram for MssqlUpdater:
Collaboration diagram for MssqlUpdater:

List of all members.

Protected Member Functions

 getCoreUpdateList ()
 Get an array of updates to perform on the database.
 updateConstraints ($constraintType, $table, $field)
 Drops unnamed and creates named constraints following the pattern <column>_ckc.

Protected Attributes

DatabaseMssql $db
 Handle to the database subclass.

Detailed Description

Class for setting up the MediaWiki database using Microsoft SQL Server.

Since:
1.23

Definition at line 31 of file MssqlUpdater.php.


Member Function Documentation

Get an array of updates to perform on the database.

Should return a multi-dimensional array. The main key is the MediaWiki version (1.12, 1.13...) with the values being arrays of updates, identical to how updaters.inc did it (for now)

Returns:
array

Reimplemented from DatabaseUpdater.

Definition at line 37 of file MssqlUpdater.php.

References array().

MssqlUpdater::updateConstraints ( constraintType,
table,
field 
) [protected]

Drops unnamed and creates named constraints following the pattern <column>_ckc.

Parameters:
string$constraintType
string$tableName of the table to which the field belongs
string$fieldName of the field to modify
Returns:
bool False if patch is skipped.

Definition at line 73 of file MssqlUpdater.php.


Member Data Documentation

DatabaseMssql MssqlUpdater::$db [protected]

Handle to the database subclass.

Reimplemented from DatabaseUpdater.

Definition at line 35 of file MssqlUpdater.php.


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