Exponent v2.7.2

fix_faq_filedownload_modules extends upgradescript
in package

This is the class fix_faq_filedownload_modules

Tags
subpackage

Upgrade

Table of Contents

$optional  : mixed
$priority  : mixed
$from_version  : mixed
$to_version  : mixed
checkVersion()  : bool
This routine should simply test version number (upgrade script requirements vs database version) to see if upgrade script should be run
description()  : string
generic description of upgrade script
name()  : string
name/title of upgrade script
needed()  : bool
additional test(s) to see if upgrade script should be run
prioritize()  : bool
Comparison function to prioritize upgrade scripts
upgrade()  : string
converts the faq & filedownload tables to the new naming scheme

Properties

Methods

checkVersion()

This routine should simply test version number (upgrade script requirements vs database version) to see if upgrade script should be run

public checkVersion(object $version) : bool
Parameters
$version : object
Return values
bool

prioritize()

Comparison function to prioritize upgrade scripts

public static prioritize( $a,  $b) : bool
Parameters
$a :
$b :
Return values
bool

upgrade()

converts the faq & filedownload tables to the new naming scheme

public upgrade() : string
Return values
string

Search results