Function CMS_Topic->_render_post_tree

Definitions

sources/topics.php

  • Render posts.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$num_to_show_limit integer required parameter N/A N/A Maximum to load
$tree array required parameter N/A N/A Tree structure of posts
$may_reply boolean required parameter N/A N/A Whether the current user may reply to the topic (influences what buttons show)
$highlight_by_member ?AUTO_LINK required parameter N/A N/A Only show posts under here (null: show posts from root)
$all_individual_review_ratings array required parameter N/A N/A Review ratings rows
$forum_id AUTO_LINK required parameter N/A N/A ID of forum this topic in in
$topic_info ?array required parameter N/A N/A The topic row (null: not running Conversr)
$depth integer 0 N/A N/A The recursion depth

Return

  • Rendered tree structure
  • Type: Tempcode
  • Set: N/A
  • Range: N/A