HistoryAction
class HistoryAction
Class HistoryAction
Properties
| SearchController read-only | $mod |
Methods
addEntry(string|null $searchTerm)
Stores the search term of the user in the history table.
cleanup()
No description
array
getLastEntries(int $limit = 10)
Returns the last entries of the current user sorted by last access (updated_at) descending.
Details
at line 20
addEntry(string|null $searchTerm)
Stores the search term of the user in the history table.
at line 43
cleanup()
No description
at line 35
array
getLastEntries(int $limit = 10)
Returns the last entries of the current user sorted by last access (updated_at) descending.