[CMS-Library] element index

Package indexes

All elements
b c d f g j m n q r u _
_
top
__construct
Constructor: builds array of $changeItems by processing the .sql files in a folder.
__construct
Constructor: builds check query and message from $updateQuery
b
top
buildCheckQuery
Checks a DDL query to see if it is a known type If yes, build a check query to see if the DDL has been run on the database.
buildCheckQuery
Checks a DDL query to see if it is a known type If yes, build a check query to see if the DDL has been run on the database.
c
top
$changeItems
Array of JSchemaChangeItem objects
$checkQuery
Check query: query used to check the db schema
$checkQueryExpected
Check query result: expected result of check query if database is up to date
$checkStatus
Checked status
check
JSchemaChangeitem::check() in changeitem.php
Runs the check query and checks that 1 row is returned If yes, return true, otherwise return false
check
JSchemaChangeset::check() in changeset.php
Checks the database and returns an array of any errors found.
changeitem.php
changeitem.php in changeitem.php
changeitemmysql.php
changeitemmysql.php in changeitemmysql.php
changeitemsqlazure.php
changeitemsqlazure.php in changeitemsqlazure.php
changeitemsqlsrv.php
changeitemsqlsrv.php in changeitemsqlsrv.php
changeset.php
changeset.php in changeset.php
d
top
$db
JSchemaChangeset::$db in changeset.php
JDatabase object
$db
JSchemaChangeitem::$db in changeitem.php
JDatabase object
f
top
$file
JSchemaChangeitem::$file in changeitem.php
Update file: full path file name where query was found
$folder
JSchemaChangeset::$folder in changeset.php
Folder where SQL update files will be found
fix
JSchemaChangeitem::fix() in changeitem.php
Runs the update query to apply the change to the database
fix
JSchemaChangeset::fix() in changeset.php
Runs the update query to apply the change to the database
fixInteger
Fix up integer. Fixes problem with MySQL integer descriptions.
fixInteger
Fix up integer. Fixes problem with MySQL integer descriptions.
fixQuote
JSchemaChangeitemmysql::fixQuote() in changeitemmysql.php
Fixes up a string for inclusion in a query.
fixQuote
JSchemaChangeitemsqlsrv::fixQuote() in changeitemsqlsrv.php
Fixes up a string for inclusion in a query.
g
top
getInstance
Returns the existing JSchemaChangeset object if it exists.
getInstance
Returns an instance of the correct schemachangeitem for the $db
getSchema
Gets the current database schema, based on the highest version number.
getStatus
Returns an array of results for this set
getUpdateFiles
Get list of SQL update files for this database
getUpdateQueries
Get array of SQL queries
j
top
JSchemaChangeitem
JSchemaChangeitem in changeitem.php
Each object represents one query, which is one line from a DDS SQL query.
JSchemaChangeitemmysql
JSchemaChangeitemmysql in changeitemmysql.php
Checks the database schema against one MySQL DDL query to see if it has been run.
JSchemaChangeitemsqlazure
JSchemaChangeitemsqlazure in changeitemsqlazure.php
Checks the database schema against one MySQL DDL query to see if it has been run.
JSchemaChangeitemsqlsrv
JSchemaChangeitemsqlsrv in changeitemsqlsrv.php
Checks the database schema against one MySQL DDL query to see if it has been run.
JSchemaChangeset
JSchemaChangeset in changeset.php
Contains a set of JSchemaChange objects for a particular instance of Joomla.
m
top
$msgElements
Array with values for use in a JText::sprintf statment indicating what was checked
n
top
$name
JSchemaChangeitemsqlazure::$name in changeitemsqlazure.php
q
top
$queryType
Query type: To be used in building a language key for a message to tell user what was checked / changed Possible values: ADD_TABLE, ADD_COLUMN, CHANGE_COLUMN_TYPE, ADD_INDEX
r
top
$rerunStatus
Rerun status
u
top
$updateQuery
Update query: query used to change the db schema (one line from the file)
b c d f g j m n q r u _