[ Index ]

PHP Cross Reference of Zikula Core 1.3.2

title

Body

[close]

/ -> upgrade.php (summary)

Copyright Zikula Foundation 2009 - Zikula Application Framework This work is contributed to the Zikula Foundation under one or more Contributor Agreements and licensed to You under the following license:

License: GNU/LGPLv3 (or at your option, any later version).
File Size: 830 lines (52 kb)
Included or required:0 times
Referenced: 5 times
Includes or requires: 1 file
 lib/bootstrap.php

Defines 14 functions

  _upg_header()
  _upg_footer()
  _upg_selectlanguage()
  _upg_upgradeinit()
  _upg_login()
  _upg_upgrademodules()
  _upg_continue()
  _upg_sanity_check()
  upgrade_clear_caches()
  upgrade_suppressErrors()
  upgrade_getCurrentInstalledCoreVersion()
  upgrade_getTables()
  upgrade_getColumnsForTable()
  upgrade_columns()

Functions
Functions that are not part of a class:

_upg_header()   X-Ref
Generate the header of upgrade page.

This function generate the header of upgrade page.

return: void

_upg_footer()   X-Ref
Generate the footer of upgrade page.

This function generate the footer of upgrade page.

return: void

_upg_selectlanguage()   X-Ref
Generate the language selector page.

This function generate the language selector page.

return: void

_upg_upgradeinit()   X-Ref
Upgrade initial.

Display initial upgrade page.

return: void

_upg_login($showheader = true)   X-Ref
Generate the login bloc of login page.

This function generate the authentification part of login page.

param: boolean $showheader Show header and footer.
return: void

_upg_upgrademodules($username, $password)   X-Ref
Generate the upgrade module page.

This function upgrade available module to an upgrade

param: string $username Username of the admin user.
param: string $password Password of the admin user.
return: void

_upg_continue($action, $text, $username, $password)   X-Ref
Generate the button for the next step of the upgrade.

This function generate the button to allow users to go to the next step of the upgrade.

param: string $action   Name of the next function called (without upgrade_upg_).
param: string $text     Text printed.
param: string $username Username of the admin user.
param: string $password Password of the admin user.
return: void

_upg_sanity_check($username, $password)   X-Ref
Generate the sanity check page.

This function do and generate the stanity check page.

param: string $username Username of the admin user.
param: string $password Password of the admin user.
return: void

upgrade_clear_caches()   X-Ref
Clear the Zikula cache.

This function clear the zikula cache.

return: void

upgrade_suppressErrors(Zikula_Event $event)   X-Ref
Suppress errors event listener.

param: Zikula_Event $event Event.
return: void

upgrade_getCurrentInstalledCoreVersion($connection)   X-Ref
Get current intalled version number

param: object $connection PDO connection.
return: string

upgrade_getTables($connection)   X-Ref
Get tables in database from current connection.

param: object $connection PDO connection.
return: array

upgrade_getColumnsForTable($connection, $tableName)   X-Ref
Get tables in database from current connection.

param: object $connection PDO connection.
param: string $tableName  The name of the table.
return: array

upgrade_columns($connection)   X-Ref
Standardise table columns.

param: PDOConnection $connection The PDO connection instance.
return: void



Generated: Mon Feb 20 12:35:30 2012 Cross-referenced by PHPXref 0.7.1