. /** * Log storage reader interface. * * @package core * @copyright 2013 Petr Skoda {@link http://skodak.org} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core\log; defined('MOODLE_INTERNAL') || die(); interface sql_select_reader extends reader { /** * Fetch records using given criteria. * * @param string $selectwhere * @param array $params * @param string $sort * @param int $limitfrom * @param int $limitnum * @return \core\event\base[] */ public function get_events_select($selectwhere, array $params, $sort, $limitfrom, $limitnum); /** * Return number of events matching given criteria. * * @param string $selectwhere * @param array $params * @return int */ public function get_events_select_count($selectwhere, array $params); }