1 <?php
2 /**
3 * @package FrameworkOnFramework
4 * @subpackage database
5 * @copyright Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
6 * @license GNU General Public License version 2 or later; see LICENSE.txt
7 *
8 * This file is adapted from the Joomla! Platform. It is used to iterate a database cursor returning FOFTable objects
9 * instead of plain stdClass objects
10 */
11
12 // Protect from unauthorized access
13 defined('FOF_INCLUDED') or die;
14
15 if (!interface_exists('JDatabaseInterface'))
16 {
17 /**
18 * Joomla Platform Database Interface
19 *
20 * @since 11.2
21 */
22 interface JDatabaseInterface
23 {
24 /**
25 * Test to see if the connector is available.
26 *
27 * @return boolean True on success, false otherwise.
28 *
29 * @since 11.2
30 */
31 public static function isSupported();
32 }
33 }
34
35 interface FOFDatabaseInterface extends JDatabaseInterface
36 {
37 }
38