Back to Joomla project (class list)

Class SqlsrvChangeItem - list of methods

Checks the database schema against one SQL Server DDL query to see if it has been run.

Extends

Package: Joomla\CMS\Schema\ChangeItem
Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Schema/ChangeItem/SqlsrvChangeItem.php
Project: Joomla

Method Summary

protected void
()

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.
Returns
  • void
Since
  • 2.5
Show source code of this method: buildCheckQuery Source Code

private string
(mixed $type1, mixed $type2)

Fix up integer. Fixes problem with MySQL integer descriptions.
Parameters
  • string $type1 the column type
  • string $type2 the column attributes
Returns
  • string The original or changed column type.
Since
  • 2.5
Show source code of this method: fixInteger Source Code

private string
(mixed $string)

Fixes up a string for inclusion in a query.
Parameters
  • string $string The input string to be cleaned up.
Returns
  • string The modified string.
Since
  • 2.5
Show source code of this method: fixQuote Source Code

Tags Summary

Since
2.5