[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/database/src/ -> UTF8MB4SupportInterface.php (summary)

Part of the Joomla Framework Database Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 39 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UTF8MB4SupportInterface:: (2 methods):
  convertUtf8mb4QueryToUtf8()
  hasUtf8mb4Support()


Interface: UTF8MB4SupportInterface  - X-Ref

Interface defining a driver which has support for the MySQL `utf8mb4` character set

convertUtf8mb4QueryToUtf8($query)   X-Ref
Automatically downgrade a CREATE TABLE or ALTER TABLE query from utf8mb4 (UTF-8 Multibyte) to plain utf8.

Used when the server doesn't support UTF-8 Multibyte.

param: string  $query  The query to convert
return: string  The converted query

hasUtf8mb4Support()   X-Ref
Check whether the database engine supports the UTF-8 Multibyte (utf8mb4) character encoding.

return: boolean  True if the database engine supports UTF-8 Multibyte.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer