[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/installer/ -> MssqlInstaller.php (summary)

Microsoft SQL Server-specific installer. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 737 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MssqlInstaller:: (21 methods):
  getName()
  isCompiled()
  getConnectForm()
  submitConnectForm()
  openConnection()
  preUpgrade()
  canCreateAccounts()
  getSettingsForm()
  submitSettingsForm()
  preInstall()
  setupDatabase()
  setupUser()
  createTables()
  getGlobalDefaults()
  loginExists()
  userExists()
  databaseExists()
  schemaExists()
  catalogExists()
  getSchemaVars()
  getLocalSettings()


Class: MssqlInstaller  - X-Ref

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

getName()   X-Ref

return: string

isCompiled()   X-Ref

return: bool

getConnectForm()   X-Ref

return: string

submitConnectForm()   X-Ref
No description

openConnection()   X-Ref

return: Status

preUpgrade()   X-Ref
No description

canCreateAccounts()   X-Ref
Return true if the install user can create accounts

return: bool

getSettingsForm()   X-Ref

return: string

submitSettingsForm()   X-Ref

return: Status

preInstall()   X-Ref
No description

setupDatabase()   X-Ref

return: Status

setupUser()   X-Ref

return: Status

createTables()   X-Ref
No description

getGlobalDefaults()   X-Ref
No description

loginExists( $user )   X-Ref
Try to see if the login exists

param: string $user Username to check
return: bool

userExists( $user )   X-Ref
Try to see if the user account exists
We assume we already have the appropriate database selected

param: string $user Username to check
return: bool

databaseExists( $dbName )   X-Ref
Try to see if a given database exists

param: string $dbName Database name to check
return: bool

schemaExists( $schemaName )   X-Ref
Try to see if a given schema exists
We assume we already have the appropriate database selected

param: string $schemaName Schema name to check
return: bool

catalogExists( $catalogName )   X-Ref
Try to see if a given fulltext catalog exists
We assume we already have the appropriate database selected

param: string $catalogName Catalog name to check
return: bool

getSchemaVars()   X-Ref
Get variables to substitute into tables.sql and the SQL patch files.

return: array

getLocalSettings()   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1