1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-15 05:04:09 +02:00

[ticket/13713] Introduce priorities for groups

PHPBB3-13713
This commit is contained in:
lavigor
2018-07-22 02:06:18 +03:00
committed by Marc Alexander
parent e874ce9898
commit aee1dfd837
4 changed files with 36 additions and 24 deletions

View File

@@ -24,4 +24,12 @@ interface source_interface
* @param int $topic_id Current topic ID
*/
public function get(array &$names, $keyword, $topic_id);
/**
* Returns the priority of the currently selected name
*
* @param array $row Array of fetched data for the name type (e.g. user row)
* @return int Priority (defaults to 1)
*/
public function get_priority($row);
}