Triggers: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 135: Line 135:
===== find(query) =====
===== find(query) =====
: Search for entries in the library matching the given query. This search is similar to searching via Memento's user interface.
: Search for entries in the library matching the given query. This search is similar to searching via Memento's user interface.
:; Argument: ''query'' — the search string (type String)
:; Argument: '''query''' — the search string (type String)
:; Result: Array object containing matching entries. Entries are sorted by the time of their creation, from newest to oldest.
:; Result: Array object containing matching entries. Entries are sorted by the time of their creation, from newest to oldest.