LJ::Faq::render_in_place

LJ::Faq::render_in_place — Render one or more FAQs by expanding FAQ-specific mark-up.

Use

LJ::Faq::render_in_place(opts, faqs);

Arguments

  • opts. Hashref (not hash) of options: - lang => language to render FAQs in (as a class method). - skipfaqs => true to skip [[faqtitle:#]] markup. - user => what to expand [[username]] to. - url => what to expand [[journalurl]] to.

  • faqs. Array of LJ::Faq objects to render (as a class method).

Info

May be called either as a class method or an object method, ie: - $self->render_in_place; - LJ::Faq->render_in_place($lang, @faqs); Note that username, journalurl, and journalurl:* aren't expanded here.

Source:

cgi-bin/LJ/Faq.pm

Returns:

True value if successful.