API17

API17:JDatabaseMySQL::getEscaped

From Joomla! Documentation

Revision as of 20:58, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JDatabaseMySQL::getEscaped/11.1 to API17:JDatabaseMySQL::getEscaped without leaving a redirect: Robot: Moved page)

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 />