dokeos-forum
[ class tree: dokeos-forum ] [ index: dokeos-forum ] [ all elements ]

Procedural File: viewthread_threaded.inc.php

Source Location: /main/forum/viewthread_threaded.inc.php



Page Details:

These files are a complete rework of the forum. The database structure is

based on phpBB but all the code is rewritten. A lot of new functionalities are added:

          • new view option: nested view
          • quoting a message










          calculate_children [line 234]

          an calculate_children( $rows)

          This function builds an array of all the posts in a given thread where the key of the array is the post_id

          It also adds an element children to the array which itself is an array that contains all the id's of the first-level children




          Tags:

          return:  array containing all the information on the posts of a thread
          author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


          Parameters

             $rows  
          [ Top ]



          _phorum_recursive_sort [line 248]

          void _phorum_recursive_sort( $rows, &$threads, [ $seed = 0], [ $indent = 0])



          Parameters

             $rows  
             &$threads  
             $seed  
             $indent  
          [ Top ]



          Documentation generated on Wed, 05 Sep 2007 06:15:15 +0200 by phpDocumentor 1.4.0