Navigation

Search

searchSort

Description

Callback function for usort used to sort the fulltext results.

Syntax

void searchSort (string $a, string $b)



Parameter $a

Expected type: String
Description: A word



Parameter $b

Expected type: String
Description: Another word


Notes

  • Simply calls the searchSort method from the searchAPI class for the method you're using.
View all versions of this function