MDL-48595 log: Replacing current interfaces

Deprecating sql_internal_reader and sql_select_reader in
favour of the new interfaces including get_events_select_iterator.
This commit is contained in:
David Monllao
2015-03-09 08:25:15 +08:00
parent ad23227bd6
commit 45a1a16bfc
5 changed files with 164 additions and 2 deletions
+10
View File
@@ -26,6 +26,16 @@ namespace core\log;
defined('MOODLE_INTERNAL') || die();
/**
* Sql select reader.
*
* @deprecated since Moodle 2.9 MDL-48595 - please do not use this interface any more.
* @see sql_reader
* @todo MDL-49291 This will be deleted in Moodle 3.1.
* @package core
* @copyright 2013 Petr Skoda {@link http://skodak.org}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
interface sql_select_reader extends reader {
/**
* Fetch records using given criteria.