/sources/wap.php

Description
Functions
do_wap_site (line 20)

This is it - the start of rendering of a WAP page.

Take in all inputs, sends them to the correct functions to process, gathers up all the outputs, sticks them together and echoes them.

void do_wap_site ()
get_comment_details_wml (line 78)

Get the tempcode containing all the comments posted, and the comments posting form for the specified resource (cut down WML version).

  • return: A pair: The tempcode for the comments, the tempcode for the comment form
array get_comment_details_wml (ID_TEXT $type, boolean $allow_comments, ID_TEXT $id, [boolean $invisible_if_no_comments = false], [?string $forum = NULL])
  • ID_TEXT $type: The type (download, etc) that this commenting is for
  • boolean $allow_comments: Whether this resource allows comments (if not, this function does nothing - but it's nice to move out this common logic into the shared function)
  • ID_TEXT $id: The ID of the type that this commenting is for
  • boolean $invisible_if_no_comments: Whether the comment box will be invisible if there are not yet any comments (and you're not staff)
  • ?string $forum: The name of the forum to use (NULL: default comment forum)

Documentation generated on Thu, 07 Aug 2008 14:10:02 +0100 by phpDocumentor 1.4.1