upgradescript

This is the abstract class upgradescript

package

Installation

Methods

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

checkVersion(object $version) : boolean

Arguments

$version

object

Response

boolean

The generic description of upgrade script

description() : string

Response

string

The name/title of upgrade script

name() : string
static

Response

string

This routine should perform additional test(s) to see if upgrade script should be run (files/tables exist, etc.

needed() : boolean

..)

Response

boolean

Comparison function to prioritize upgrade scripts

prioritize( $a,  $b) : boolean
static

Arguments

$a

$b

Response

boolean

The main routine of upgrade script which is run to upgrade Exponent

upgrade() : string

Response

string

Properties

from_version

from_version : 

Type(s)

to_version

to_version : 

Type(s)

optional

optional : 

Type(s)

priority

priority : 

Type(s)