[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Part of the Joomla Framework Database Package 4 * 5 * @copyright Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved. 6 * @license GNU General Public License version 2 or later; see LICENSE 7 */ 8 9 namespace Joomla\Database; 10 11 /** 12 * Interface defining a driver which has support for the MySQL `utf8mb4` character set 13 * 14 * @since 2.0.0 15 */ 16 interface UTF8MB4SupportInterface 17 { 18 /** 19 * Automatically downgrade a CREATE TABLE or ALTER TABLE query from utf8mb4 (UTF-8 Multibyte) to plain utf8. 20 * 21 * Used when the server doesn't support UTF-8 Multibyte. 22 * 23 * @param string $query The query to convert 24 * 25 * @return string The converted query 26 * 27 * @since 2.0.0 28 */ 29 public function convertUtf8mb4QueryToUtf8($query); 30 31 /** 32 * Check whether the database engine supports the UTF-8 Multibyte (utf8mb4) character encoding. 33 * 34 * @return boolean True if the database engine supports UTF-8 Multibyte. 35 * 36 * @since 2.0.0 37 */ 38 public function hasUtf8mb4Support(); 39 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |