Contains a set of JSchemaChange objects for a particular instance of Joomla.
Each of these objects contains a DDL query that should have been run against the database when this database was created or updated. This enables the Installation Manager to check that the current database schema is up to date.
Located in /libraries/cms/schema/changeset.php (line 26)
JObject | --JSchemaChangeset
Array of JSchemaChangeItem objects
JDatabase object
Folder where SQL update files will be found
Inherited from JObject
JObject::$_errors
Returns the existing JSchemaChangeset object if it exists.
Otherwise, it creates a new one.
Constructor: builds array of $changeItems by processing the .sql files in a folder.
The folder for the Joomla core updates is administrator/components/com_admin/sql/updates/<database>.
Checks the database and returns an array of any errors found.
Note these are not database errors but rather situations where the current schema is not up to date.
Runs the update query to apply the change to the database
Gets the current database schema, based on the highest version number.
Note that the .sql files are named based on the version and date, so the file name of the last file should match the database schema version in the #__schemas table.
Returns an array of results for this set
Get list of SQL update files for this database
Get array of SQL queries
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()
Documentation generated on Mon, 25 Jun 2012 13:53:01 -0500 by phpDocumentor 1.4.4