API17

API17:JDatabaseMySQL::getEscaped

From Joomla! Documentation

Revision as of 15:26, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→User contributed notes: moving preparation)

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