Class responsible for the upgrade of a site

Class Methods

The following methods can be invoked on instances of this class.

getUpdateFolders(mixed strSiteRevision, mixed strFrameworkRevision)

Get all the update folders

upgradeSQL(mixed strPath, mixed strSiteRevision, mixed strFrameworkRevision)

Runs SQL updates for the new revision on each site

upgradePHP(mixed strPath, mixed strSiteRevision, mixed strFrameworkRevision)

Runs PHP updates for the new revision on each site

getUpdateFiles(mixed strPath, mixed strSiteRevision, string strFrameworkRevision)

Retrieves a list of changed update files

versionGet()

Retrieves the current version of the database

versionSet(string strValue)

Sets the current version of the database

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class