API17

API17:JDatabaseMySQLi::getEscaped

From Joomla! Documentation

Joomla 11.1 JDatabaseMySQLi::getEscaped

Description

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


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


User contributed notes

Code Examples