LJ::Faq::load_matching

LJ::Faq::load_matching — Finds all FAQs containing a search term and ranks them by relevance.

Use

LJ::Faq::load_matching(term, opts);

Arguments

  • term. The string to search for (case-insensitive).

  • opts. Hash of option key => value. - lang => language to render FAQs in. - user => what to expand [[username]] to. - url => what to expand [[journalurl]] to.

Source:

cgi-bin/LJ/Faq.pm

Returns:

A list of LJ::Faq objects matching the search term, sorted by decreasing relevance.