Function __global->render_post_box

Definitions

sources/cns_posts2.php

  • Show a post, isolated of the other posts in it's topic.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$row array required parameter N/A N/A The post row
$use_post_title boolean False N/A N/A Whether to include context (i.e. say WHAT this is, not just show the actual content). Also uses the post title, as opposed to the post's topic's title.
$give_context boolean True N/A N/A Whether to embed a link to the topic
$include_breadcrumbs boolean True N/A N/A Whether to include breadcrumbs (if there are any)
$root ?AUTO_LINK Null N/A N/A Virtual root to use (null: none)
$guid ID_TEXT Blank (empty string) N/A N/A Overridden GUID to send to templates (blank: none)
$text_summary ?Tempcode Null N/A N/A Text summary for result (e.g. highlighted portion of actual file from search result) (null: none)
$zone ID_TEXT _SEARCH N/A N/A The zone to display in

Return

  • The isolated post
  • Type: Tempcode
  • Set: N/A
  • Range: N/A