[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/ -> functions_forumlist.php (summary)

MyBB 1.6 Copyright 2010 MyBB Group, All Rights Reserved Website: http://mybb.com License: http://mybb.com/about/license

File Size: 560 lines (18 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  build_forumbits()
  get_forum_lightbulb()
  get_forum_unapproved()

Functions
Functions that are not part of a class:

build_forumbits($pid=0, $depth=1)   X-Ref
Build a list of forum bits.

param: int The parent forum to fetch the child forums for (0 assumes all)
param: int The depth to return forums with.
return: array Array of information regarding the child forums of this parent forum

get_forum_lightbulb($forum, $lastpost, $locked=0)   X-Ref
Fetch the status indicator for a forum based on its last post and the read date

param: array Array of information about the forum
param: array Array of information about the lastpost date
return: array Array of the folder image to be shown and the alt text

get_forum_unapproved($forum)   X-Ref
Fetch the number of unapproved posts, formatted, from a forum

param: array Array of information about the forum
return: array Array containing formatted string for posts and string for threads



Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1