Class JSchemaChangeset
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.
Package: Joomla\Libraries\Schema
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.5
Located at cms/schema/changeset.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.5
Located at cms/schema/changeset.php
Methods summary
public
|
#
__construct(
Constructor: builds array of $changeItems by processing the .sql files in a
folder. The folder for the Joomla core updates is
|
public static
|
#
getInstance(
Returns a reference to the JSchemaChangeset object, only creating it if it doesn't already exist. |
public
array
|
|
public
|
|
public
array
|
|
public
string
|
Magic methods summary
Properties summary
protected
|
$changeItems |
#
Array of JSchemaChangeitem objects |
protected
|
$db |
#
JDatabaseDriver object |
protected
string
|
$folder |
#
Folder where SQL update files will be found |
protected static
|
$instance |
#
The singleton instance of this object |