Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
adoSchema Class Reference

Loads and parses an XML file, creating an array of "ready-to-run" SQL statements. More...

Public Member Functions

 __construct ( $db)
 Creates an adoSchema object.
 
 __construct ( $db)
 Creates an adoSchema object.
 
 ContinueOnError ( $mode=NULL)
 Enables/disables SQL continue on error.
 
 continueOnError ( $mode=NULL)
 Enables/disables SQL continue on error.
 
 ConvertSchemaFile ( $filename, $newVersion=NULL, $newFile=NULL)
 Converts an XML schema file to the specified DTD version.
 
 convertSchemaFile ( $filename, $newVersion=NULL, $newFile=NULL)
 Converts an XML schema file to the specified DTD version.
 
 ConvertSchemaString ( $schema, $newVersion=NULL, $newFile=NULL)
 Converts an XML schema string to the specified DTD version.
 
 convertSchemaString ( $schema, $newVersion=NULL, $newFile=NULL)
 Converts an XML schema string to the specified DTD version.
 
 Destroy ()
 Destroys an adoSchema object.
 
 destroy ()
 Destroys an adoSchema object.
 
 ExecuteInline ( $mode=NULL)
 Enables/disables inline SQL execution.
 
 executeInline ( $mode=NULL)
 Enables/disables inline SQL execution.
 
 ExecuteSchema ( $sqlArray=NULL, $continueOnErr=NULL)
 Applies the current XML schema to the database (post execution).
 
 executeSchema ( $sqlArray=NULL, $continueOnErr=NULL)
 Applies the current XML schema to the database (post execution).
 
 existingData ( $mode=NULL)
 Specifies how to handle existing data row when there is a unique key conflict.
 
 ExtractSchema ( $data=FALSE)
 Extracts an XML schema from an existing database.
 
 extractSchema ( $data=FALSE, $indent=' ', $prefix='', $stripprefix=false)
 Extracts an XML schema from an existing database.
 
 ParseSchema ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to SQL.
 
 parseSchema ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to SQL.
 
 ParseSchemaFile ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to SQL.
 
 parseSchemaFile ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to SQL.
 
 ParseSchemaString ( $xmlstring, $returnSchema=FALSE)
 Converts an XML schema string to SQL.
 
 parseSchemaString ( $xmlstring, $returnSchema=FALSE)
 Converts an XML schema string to SQL.
 
 PrintSQL ( $format='NONE')
 Returns the current SQL array.
 
 printSQL ( $format='NONE')
 Returns the current SQL array.
 
 RemoveSchema ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to uninstallation SQL.
 
 removeSchema ( $filename, $returnSchema=FALSE)
 Loads an XML schema from a file and converts it to uninstallation SQL.
 
 RemoveSchemaString ( $schema, $returnSchema=FALSE)
 Converts an XML schema string to uninstallation SQL.
 
 removeSchemaString ( $schema, $returnSchema=FALSE)
 Converts an XML schema string to uninstallation SQL.
 
 SaveSQL ( $filename='./schema.sql')
 Saves the current SQL array to the local filesystem as a list of SQL queries.
 
 saveSQL ( $filename='./schema.sql')
 Saves the current SQL array to the local filesystem as a list of SQL queries.
 
 SchemaFileVersion ( $filename)
 Returns the AXMLS Schema Version of the requested XML schema file.
 
 schemaFileVersion ( $filename)
 Returns the AXMLS Schema Version of the requested XML schema file.
 
 SchemaStringVersion ( $xmlstring)
 Returns the AXMLS Schema Version of the provided XML schema string.
 
 schemaStringVersion ( $xmlstring)
 Returns the AXMLS Schema Version of the provided XML schema string.
 
 SetPrefix ( $prefix='', $underscore=TRUE)
 Sets a prefix for database objects.
 
 setPrefix ( $prefix='', $underscore=TRUE)
 Sets a prefix for database objects.
 
 SetUpgradeMethod ( $method='')
 Sets the method to be used for upgrading an existing database.
 
 setUpgradeMethod ( $method='')
 Sets the method to be used for upgrading an existing database.
 
 TransformSchema ( $schema, $xsl, $schematype='string')
 
 transformSchema ( $schema, $xsl, $schematype='string')
 

Public Attributes

bool $continueOnError
 Continue SQL execution if errors occur.
 
bool $executeInline
 Execute SQL inline as it is generated.
 
int $existingData
 How to handle existing data rows (insert, update, or ignore)
 
dbTable $obj
 A table object.
 
int $success
 Success of last Schema execution.
 

Detailed Description

Loads and parses an XML file, creating an array of "ready-to-run" SQL statements.

This class is used to load and parse the XML file, to create an array of SQL statements that can be used to build a database, and to build the database using the SQL array.

@tutorial getting_started.pkg

Author
Richard Tango-Lowy & Dan Cech
Version
1.12

This class is used to load and parse the XML file, to create an array of SQL statements that can be used to build a database, and to build the database using the SQL array.

@tutorial getting_started.pkg

Author
Richard Tango-Lowy & Dan Cech
Version
1.62

Constructor & Destructor Documentation

◆ __construct() [1/2]

adoSchema::__construct ( $db)

Creates an adoSchema object.

Creating an adoSchema object is the first step in processing an XML schema. The only parameter is an ADOdb database connection object, which must already have been created.

Parameters
object$dbADOdb database connection object.

◆ __construct() [2/2]

adoSchema::__construct ( $db)

Creates an adoSchema object.

Creating an adoSchema object is the first step in processing an XML schema. The only parameter is an ADOdb database connection object, which must already have been created.

Parameters
object$dbADOdb database connection object.

Member Function Documentation

◆ ContinueOnError()

adoSchema::ContinueOnError ( $mode = NULL)

Enables/disables SQL continue on error.

Call this method to enable or disable continuation of SQL execution if an error occurs. If the mode is set to TRUE (continue), AXMLS will continue to apply SQL to the database, even if an error occurs. If the mode is set to FALSE (halt), AXMLS will halt execution of generated sql if an error occurs, though parsing of the schema will continue.

Parameters
bool$modeexecute
Return values
boolcurrent continueOnError mode
See also
addSQL()
ExecuteSchema()

◆ continueOnError()

adoSchema::continueOnError ( $mode = NULL)

Enables/disables SQL continue on error.

Call this method to enable or disable continuation of SQL execution if an error occurs. If the mode is set to TRUE (continue), AXMLS will continue to apply SQL to the database, even if an error occurs. If the mode is set to FALSE (halt), AXMLS will halt execution of generated sql if an error occurs, though parsing of the schema will continue.

Parameters
bool$modeexecute
Return values
boolcurrent continueOnError mode
See also
addSQL()
ExecuteSchema()

◆ ConvertSchemaFile()

adoSchema::ConvertSchemaFile ( $filename,
$newVersion = NULL,
$newFile = NULL )

Converts an XML schema file to the specified DTD version.

Call this method to convert the specified XML schema file to a different AXMLS DTD version. For instance, to convert a schema created for an pre-1.0 version for AXMLS (DTD version 0.1) to a newer version of the DTD (e.g. 0.2). If no DTD version parameter is specified, the schema will be converted to the current DTD version. If the newFile parameter is provided, the converted schema will be written to the specified file.

See also
ConvertSchemaString()
Parameters
string$filenameName of XML schema file that will be converted.
string$newVersionDTD version to convert to.
string$newFileFile name of (converted) output file.
Return values
stringConverted XML schema or FALSE if an error occurs.

◆ convertSchemaFile()

adoSchema::convertSchemaFile ( $filename,
$newVersion = NULL,
$newFile = NULL )

Converts an XML schema file to the specified DTD version.

Call this method to convert the specified XML schema file to a different AXMLS DTD version. For instance, to convert a schema created for an pre-1.0 version for AXMLS (DTD version 0.1) to a newer version of the DTD (e.g. 0.2). If no DTD version parameter is specified, the schema will be converted to the current DTD version. If the newFile parameter is provided, the converted schema will be written to the specified file.

See also
convertSchemaString()
Parameters
string$filenameName of XML schema file that will be converted.
string$newVersionDTD version to convert to.
string$newFileFile name of (converted) output file.
Return values
stringConverted XML schema or FALSE if an error occurs.

◆ ConvertSchemaString()

adoSchema::ConvertSchemaString ( $schema,
$newVersion = NULL,
$newFile = NULL )

Converts an XML schema string to the specified DTD version.

Call this method to convert a string containing an XML schema to a different AXMLS DTD version. For instance, to convert a schema created for an pre-1.0 version for AXMLS (DTD version 0.1) to a newer version of the DTD (e.g. 0.2). If no DTD version parameter is specified, the schema will be converted to the current DTD version. If the newFile parameter is provided, the converted schema will be written to the specified file.

See also
ConvertSchemaFile()
Parameters
string$schemaString containing XML schema that will be converted.
string$newVersionDTD version to convert to.
string$newFileFile name of (converted) output file.
Return values
stringConverted XML schema or FALSE if an error occurs.

◆ convertSchemaString()

adoSchema::convertSchemaString ( $schema,
$newVersion = NULL,
$newFile = NULL )

Converts an XML schema string to the specified DTD version.

Call this method to convert a string containing an XML schema to a different AXMLS DTD version. For instance, to convert a schema created for an pre-1.0 version for AXMLS (DTD version 0.1) to a newer version of the DTD (e.g. 0.2). If no DTD version parameter is specified, the schema will be converted to the current DTD version. If the newFile parameter is provided, the converted schema will be written to the specified file.

See also
convertSchemaFile()
Parameters
string$schemaString containing XML schema that will be converted.
string$newVersionDTD version to convert to.
string$newFileFile name of (converted) output file.
Return values
stringConverted XML schema or FALSE if an error occurs.

◆ Destroy()

adoSchema::Destroy ( )

Destroys an adoSchema object.

Call this method to clean up after an adoSchema object that is no longer in use.

Deprecated
adoSchema now cleans up automatically.

◆ destroy()

adoSchema::destroy ( )

Destroys an adoSchema object.

Call this method to clean up after an adoSchema object that is no longer in use.

Deprecated
adoSchema now cleans up automatically.

◆ ExecuteInline()

adoSchema::ExecuteInline ( $mode = NULL)

Enables/disables inline SQL execution.

Call this method to enable or disable inline execution of the schema. If the mode is set to TRUE (inline execution), AXMLS applies the SQL to the database immediately as each schema entity is parsed. If the mode is set to FALSE (post execution), AXMLS parses the entire schema and you will need to call adoSchema\ExecuteSchema() to apply the schema to the database.

Parameters
bool$modeexecute
Return values
boolcurrent execution mode
See also
ParseSchema()
ExecuteSchema()

◆ executeInline()

adoSchema::executeInline ( $mode = NULL)

Enables/disables inline SQL execution.

Call this method to enable or disable inline execution of the schema. If the mode is set to TRUE (inline execution), AXMLS applies the SQL to the database immediately as each schema entity is parsed. If the mode is set to FALSE (post execution), AXMLS parses the entire schema and you will need to call adoSchema\ExecuteSchema() to apply the schema to the database.

Parameters
bool$modeexecute
Return values
boolcurrent execution mode
See also
ParseSchema()
ExecuteSchema()

◆ ExecuteSchema()

adoSchema::ExecuteSchema ( $sqlArray = NULL,
$continueOnErr = NULL )

Applies the current XML schema to the database (post execution).

Call this method to apply the current schema (generally created by calling ParseSchema() or ParseSchemaString() ) to the database (creating the tables, indexes, and executing other SQL specified in the schema) after parsing.

See also
ParseSchema()
ParseSchemaString()
ExecuteInline()
Parameters
array$sqlArrayArray of SQL statements that will be applied rather than the current schema.
boolean$continueOnErrContinue to apply the schema even if an error occurs.
Returns
integer 0 if failure, 1 if errors, 2 if successful.

◆ executeSchema()

adoSchema::executeSchema ( $sqlArray = NULL,
$continueOnErr = NULL )

Applies the current XML schema to the database (post execution).

Call this method to apply the current schema (generally created by calling parseSchema() or parseSchemaString() ) to the database (creating the tables, indexes, and executing other SQL specified in the schema) after parsing.

See also
parseSchema()
parseSchemaString()
executeInline()
Parameters
array$sqlArrayArray of SQL statements that will be applied rather than the current schema.
boolean$continueOnErrContinue to apply the schema even if an error occurs.
Returns
integer 0 if failure, 1 if errors, 2 if successful.

◆ existingData()

adoSchema::existingData ( $mode = NULL)

Specifies how to handle existing data row when there is a unique key conflict.

The existingData setting specifies how the parser should handle existing rows when a unique key violation occurs during the insert. This can happen when inserting data into an existing table with one or more primary keys or unique indexes. The existingData method takes one of three options: XMLS_MODE_INSERT attempts to always insert the data as a new row. In the event of a unique key violation, the database will generate an error. XMLS_MODE_UPDATE attempts to update the any existing rows with the new data based upon primary or unique key fields in the schema. If the data row in the schema specifies no unique fields, the row data will be inserted as a new row. XMLS_MODE_IGNORE specifies that any data rows that would result in a unique key violation be ignored; no inserts or updates will take place. For backward compatibility, the default setting is XMLS_MODE_INSERT, but XMLS_MODE_UPDATE will generally be the most appropriate setting.

Parameters
int$modeXMLS_MODE_INSERT, XMLS_MODE_UPDATE, or XMLS_MODE_IGNORE
Return values
intcurrent mode

◆ ExtractSchema()

adoSchema::ExtractSchema ( $data = FALSE)

Extracts an XML schema from an existing database.

Call this method to create an XML schema string from an existing database. If the data parameter is set to TRUE, AXMLS will include the data from the database in the schema.

Parameters
boolean$dataInclude data in schema dump
Return values
stringGenerated XML schema

◆ extractSchema()

adoSchema::extractSchema ( $data = FALSE,
$indent = '  ',
$prefix = '',
$stripprefix = false )

Extracts an XML schema from an existing database.

Call this method to create an XML schema string from an existing database. If the data parameter is set to TRUE, AXMLS will include the data from the database tables in the schema.

Parameters
boolean$datainclude data in schema dump
string$indentindentation to use
string$prefixextract only tables with given prefix
boolean$stripprefixstrip prefix string when storing in XML schema
Return values
stringGenerated XML schema

◆ ParseSchema()

adoSchema::ParseSchema ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to SQL.

Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to create the database described.

See also
ParseSchemaString()
Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute

◆ parseSchema()

adoSchema::parseSchema ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to SQL.

Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to create the database described. This method automatically converts the schema to the latest axmls schema version.

See also
ParseSchemaString()
Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute

◆ ParseSchemaFile()

adoSchema::ParseSchemaFile ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to SQL.

Call this method to load the specified schema from a file (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema.

Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.
Deprecated
Replaced by adoSchema\ParseSchema() and adoSchema\ParseSchemaString()
See also
ParseSchema()
ParseSchemaString()

◆ parseSchemaFile()

adoSchema::parseSchemaFile ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to SQL.

Call this method to load the specified schema directly from a file (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema. Use this method when you are dealing with large schema files. Otherwise, parseSchema() is faster. This method does not automatically convert the schema to the latest axmls schema version. You must convert the schema manually using either the convertSchemaFile() or convertSchemaString() method.

See also
parseSchema()
convertSchemaFile()
convertSchemaString()
Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.
Deprecated
Replaced by adoSchema\parseSchema() and adoSchema\parseSchemaString()
See also
parseSchema()
parseSchemaString()

◆ ParseSchemaString()

adoSchema::ParseSchemaString ( $xmlstring,
$returnSchema = FALSE )

Converts an XML schema string to SQL.

Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema.

See also
ParseSchema()
Parameters
string$xmlstringXML schema string.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.

◆ parseSchemaString()

adoSchema::parseSchemaString ( $xmlstring,
$returnSchema = FALSE )

Converts an XML schema string to SQL.

Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to create the database described by the schema.

See also
parseSchema()
Parameters
string$xmlstringXML schema string.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.

◆ PrintSQL()

adoSchema::PrintSQL ( $format = 'NONE')

Returns the current SQL array.

Call this method to fetch the array of SQL queries resulting from ParseSchema() or ParseSchemaString().

Parameters
string$formatFormat: HTML, TEXT, or NONE (PHP array)
Return values
arrayArray of SQL statements or FALSE if an error occurs

◆ printSQL()

adoSchema::printSQL ( $format = 'NONE')

Returns the current SQL array.

Call this method to fetch the array of SQL queries resulting from parseSchema() or parseSchemaString().

Parameters
string$formatFormat: HTML, TEXT, or NONE (PHP array)
Return values
arrayArray of SQL statements or FALSE if an error occurs

◆ RemoveSchema()

adoSchema::RemoveSchema ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to uninstallation SQL.

Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to remove the database described.

See also
RemoveSchemaString()
Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute

◆ removeSchema()

adoSchema::removeSchema ( $filename,
$returnSchema = FALSE )

Loads an XML schema from a file and converts it to uninstallation SQL.

Call this method to load the specified schema (see the DTD for the proper format) from the filesystem and generate the SQL necessary to remove the database described.

See also
RemoveSchemaString()
Parameters
string$fileName of XML schema file.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute

◆ RemoveSchemaString()

adoSchema::RemoveSchemaString ( $schema,
$returnSchema = FALSE )

Converts an XML schema string to uninstallation SQL.

Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to uninstall the database described by the schema.

See also
RemoveSchema()
Parameters
string$schemaXML schema string.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.

◆ removeSchemaString()

adoSchema::removeSchemaString ( $schema,
$returnSchema = FALSE )

Converts an XML schema string to uninstallation SQL.

Call this method to parse a string containing an XML schema (see the DTD for the proper format) and generate the SQL necessary to uninstall the database described by the schema.

See also
removeSchema()
Parameters
string$schemaXML schema string.
bool$returnSchemaReturn schema rather than parsing.
Return values
arrayArray of SQL queries, ready to execute.

◆ SaveSQL()

adoSchema::SaveSQL ( $filename = './schema.sql')

Saves the current SQL array to the local filesystem as a list of SQL queries.

Call this method to save the array of SQL queries (generally resulting from a parsed XML schema) to the filesystem.

Parameters
string$filenamePath and name where the file should be saved.
Return values
booleanTRUE if save is successful, else FALSE.

◆ saveSQL()

adoSchema::saveSQL ( $filename = './schema.sql')

Saves the current SQL array to the local filesystem as a list of SQL queries.

Call this method to save the array of SQL queries (generally resulting from a parsed XML schema) to the filesystem.

Parameters
string$filenamePath and name where the file should be saved.
Return values
booleanTRUE if save is successful, else FALSE.

◆ SchemaFileVersion()

adoSchema::SchemaFileVersion ( $filename)

Returns the AXMLS Schema Version of the requested XML schema file.

Call this method to obtain the AXMLS DTD version of the requested XML schema file.

See also
SchemaStringVersion()
Parameters
string$filenameAXMLS schema file
Return values
stringSchema version number or FALSE on error

◆ schemaFileVersion()

adoSchema::schemaFileVersion ( $filename)

Returns the AXMLS Schema Version of the requested XML schema file.

Call this method to obtain the AXMLS DTD version of the requested XML schema file.

See also
SchemaStringVersion()
Parameters
string$filenameAXMLS schema file
Return values
stringSchema version number or FALSE on error

◆ SchemaStringVersion()

adoSchema::SchemaStringVersion ( $xmlstring)

Returns the AXMLS Schema Version of the provided XML schema string.

Call this method to obtain the AXMLS DTD version of the provided XML schema string.

See also
SchemaFileVersion()
Parameters
string$xmlstringXML schema string
Return values
stringSchema version number or FALSE on error

◆ schemaStringVersion()

adoSchema::schemaStringVersion ( $xmlstring)

Returns the AXMLS Schema Version of the provided XML schema string.

Call this method to obtain the AXMLS DTD version of the provided XML schema string.

See also
SchemaFileVersion()
Parameters
string$xmlstringXML schema string
Return values
stringSchema version number or FALSE on error

◆ SetPrefix()

adoSchema::SetPrefix ( $prefix = '',
$underscore = TRUE )

Sets a prefix for database objects.

Call this method to set a standard prefix that will be prepended to all database tables and indices when the schema is parsed. Calling setPrefix with no arguments clears the prefix.

Parameters
string$prefixPrefix that will be prepended.
boolean$underscoreIf TRUE, automatically append an underscore character to the prefix.
Return values
booleanTRUE if successful, else FALSE

◆ setPrefix()

adoSchema::setPrefix ( $prefix = '',
$underscore = TRUE )

Sets a prefix for database objects.

Call this method to set a standard prefix that will be prepended to all database tables and indices when the schema is parsed. Calling setPrefix with no arguments clears the prefix.

Parameters
string$prefixPrefix that will be prepended.
boolean$underscoreIf TRUE, automatically append an underscore character to the prefix.
Return values
booleanTRUE if successful, else FALSE

◆ SetUpgradeMethod()

adoSchema::SetUpgradeMethod ( $method = '')

Sets the method to be used for upgrading an existing database.

Use this method to specify how existing database objects should be upgraded. The method option can be set to ALTER, REPLACE, BEST, or NONE. ALTER attempts to alter each database object directly, REPLACE attempts to rebuild each object from scratch, BEST attempts to determine the best upgrade method for each object, and NONE disables upgrading.

This method is not yet used by AXMLS, but exists for backward compatibility. The ALTER method is automatically assumed when the adoSchema object is instantiated; other upgrade methods are not currently supported.

Parameters
string$methodUpgrade method (ALTER|REPLACE|BEST|NONE)
Returns
string Upgrade method used

◆ setUpgradeMethod()

adoSchema::setUpgradeMethod ( $method = '')

Sets the method to be used for upgrading an existing database.

Use this method to specify how existing database objects should be upgraded. The method option can be set to ALTER, REPLACE, BEST, or NONE. ALTER attempts to alter each database object directly, REPLACE attempts to rebuild each object from scratch, BEST attempts to determine the best upgrade method for each object, and NONE disables upgrading.

This method is not yet used by AXMLS, but exists for backward compatibility. The ALTER method is automatically assumed when the adoSchema object is instantiated; other upgrade methods are not currently supported.

Parameters
string$methodUpgrade method (ALTER|REPLACE|BEST|NONE)
Returns
string Upgrade method used

The documentation for this class was generated from the following files: