API17

JDatabaseMySQL::getEscaped: Difference between revisions

From Joomla! Documentation

m →User contributed notes: moving preparation
m →See also: moving preparation
Line 37: Line 37:
===See also===
===See also===
* {{JVer|11.1}} '''JDatabaseMySQL::getEscaped source code''' on [[jplatform:database/database/mysql.php#cl-198|BitBucket]]
* {{JVer|11.1}} '''JDatabaseMySQL::getEscaped source code''' on [[jplatform:database/database/mysql.php#cl-198|BitBucket]]
* {{JVer|11.1}} Class [[JDatabaseMySQL/11.1|JDatabaseMySQL]]
* {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]]
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[JDatabaseMySQL::getEscaped|Other versions of JDatabaseMySQL::getEscaped]]
* [[API17:JDatabaseMySQL::getEscaped|Other versions of JDatabaseMySQL::getEscaped]]
{{SeeAlso:JDatabaseMySQL::getEscaped}}
{{SeeAlso:JDatabaseMySQL::getEscaped}}
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">

Revision as of 01:08, 12 May 2013

Joomla 11.1 JDatabaseMySQL::getEscaped

Description

Method to escape a string for usage in an SQL statement.

Template:Description:JDatabaseMySQL::getEscaped [Edit Descripton]

public function getEscaped (
        $text
        $extra=false
)
Parameter Type Default Description
$text string The string to be escaped.
$extra bool false Optional parameter to provide extra escaping.
  • Returns string The escaped string.
  • Defined on line 206 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also

Template:SeeAlso:JDatabaseMySQL::getEscaped [Edit See Also]

User contributed notes

<CodeExamplesForm />