Documentation

Agora_ViewComments
in package

Comments display script

Copyright 2003-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.

Tags
author

Marko Djukic marko@oblo.com

author

Duck duck@obala.net

Table of Contents

render()  : string
Returns all threads of a forum in a threaded view.

Methods

render()

Returns all threads of a forum in a threaded view.

public static render(string $forum_name[, string $scope = 'agora' ][, string $base_url = null ][, string $template_file = false ]) : string
Parameters
$forum_name : string

The unique name for the forum.

$scope : string = 'agora'

The application that the specified forum belongs to.

$base_url : string = null

An alternate link where edit/delete/reply links point to.

$template_file : string = false

Template file to use.

Return values
string

The HTML code of the thread view.

Search results