AAAAhome/academiac/www/libraries/joomla/database/database/mysqliimporter.php000064400000002626151374225640022604 0ustar00db 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 JDatabaseImporterMySQLi Method supports chaining. * * @since 11.1 */ public function setDbo(JDatabaseMySQLi $db) { $this->db = $db; return $this; } }