MDL-41266 improve naming of log reader interfaces

This commit is contained in:
Petr Škoda
2014-02-28 14:52:30 +08:00
parent 43d91d7665
commit 993d8d838f
10 changed files with 77 additions and 42 deletions
-21
View File
@@ -49,27 +49,6 @@ interface reader {
*/
public function can_access(\context $context);
/**
* 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($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_count($selectwhere, array $params);
/**
* Are the new events appearing in the reader?
*