Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_data_comment_Handler
  • icms_data_comment_Object
  • icms_data_comment_Renderer
  • Overview
  • Package
  • Class

Class icms_data_comment_Renderer

Display comments

Package: Data\Comment
Category: ICMS
Copyright: copyright (c) 2000-2007 XOOPS.org
License: GNU General Public License (GPL)
Located at data/comment/Renderer.php
Methods summary
public static &
# instance( object & $tpl, boolean $use_icons = TRUE, boolean $do_iconcheck = FALSE )

Access the only instance of this class

Access the only instance of this class

Parameters

$tpl
reference to a Smarty object
$use_icons
$do_iconcheck

Returns

public
# setComments( object & $comments_arr )

Accessor

Accessor

Parameters

$comments_arr
$comments_arr array of XoopsComment objects
public
# renderFlatView( boolean $admin_view = FALSE )

Render the comments in flat view

Render the comments in flat view

Parameters

$admin_view
public
# renderThreadView( integer $comment_id = 0, boolean $admin_view = FALSE, boolean $show_nav = TRUE )

Render the comments in thread view

Render the comments in thread view

This method calls itself recursively

Parameters

$comment_id
Should be "0" when called by client
$admin_view
$show_nav
public
# renderNestView( integer $comment_id = 0, boolean $admin_view = FALSE )

Render comments in nested view

Render comments in nested view

Danger: Recursive!

Parameters

$comment_id
Always "0" when called by client.
$admin_view
API documentation generated by ApiGen