API17

API17:JDatabaseMySQLi::getEscaped

From Joomla! Documentation

Revision as of 15:06, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

Joomla 11.1 JDatabaseMySQLi::getEscaped

Description

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

{{subst:Description:JDatabaseMySQLi::getEscaped}}

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 226 of libraries/joomla/database/database/mysqli.php
  • Since Joomla 11.1

See also

{{subst:SeeAlso:JDatabaseMySQLi::getEscaped}}

User contributed notes

<CodeExamplesForm />