[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

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

MySQL-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: 676 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MysqlInstaller:: (20 methods):
  getName()
  isCompiled()
  getGlobalDefaults()
  getConnectForm()
  submitConnectForm()
  openConnection()
  preUpgrade()
  getEngines()
  getCharsets()
  canCreateAccounts()
  getSettingsForm()
  submitSettingsForm()
  preInstall()
  setupDatabase()
  setupUser()
  buildFullUserName()
  userDefinitelyExists()
  getTableOptions()
  getSchemaVars()
  getLocalSettings()


Class: MysqlInstaller  - X-Ref

Class for setting up the MediaWiki database using MySQL.

getName()   X-Ref

return: string

isCompiled()   X-Ref

return: bool

getGlobalDefaults()   X-Ref

return: array

getConnectForm()   X-Ref

return: string

submitConnectForm()   X-Ref
No description

openConnection()   X-Ref

return: Status

preUpgrade()   X-Ref
No description

getEngines()   X-Ref
Get a list of storage engines that are available and supported

return: array

getCharsets()   X-Ref
Get a list of character sets that are available and supported

return: array

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

buildFullUserName( $name, $host )   X-Ref
Return a formal 'User'@'Host' username for use in queries

param: string $name Username, quotes will be added
param: string $host Hostname, quotes will be added
return: string

userDefinitelyExists( $host, $user )   X-Ref
Try to see if the user account exists. Our "superuser" may not have
access to mysql.user, so false means "no" or "maybe"

param: string $host Hostname to check
param: string $user Username to check
return: bool

getTableOptions()   X-Ref
Return any table options to be applied to all tables that don't
override them.

return: string

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