X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/58919afe451ad5b2088d61ff1c856f44dd522b32..38aa0dc6133ff53d20fd9f714eb380809c8dba67:/src/phorkie/Database/ISearch.php diff --git a/src/phorkie/Database/ISearch.php b/src/phorkie/Database/ISearch.php index b18d43a..f67dec6 100644 --- a/src/phorkie/Database/ISearch.php +++ b/src/phorkie/Database/ISearch.php @@ -4,6 +4,22 @@ namespace phorkie; interface Database_ISearch { public function search($term, $page = 0, $perPage = 10); + + /** + * List all repositories + * + * @param integer $page Page of search results, starting with 0 + * @param integer $perPage Number of results per page + * @param string $sort Sort order. Allowed values: + * - id - repository id + * - crdate - creation date + * - modate - modification date + * - tstamp - last index date + * + * @return Search_Result Search result object + */ + public function listAll($page = 0, $perPage = 10, $sort = 'id', $sortOrder = null); + } ?>