[ Index ]

PHP Cross Reference of MyBB 1.8.38

title

Body

[close]

/inc/ -> functions_forumlist.php (summary)

MyBB 1.8 Copyright 2014 MyBB Group, All Rights Reserved Website: http://www.mybb.com License: http://www.mybb.com/about/license

File Size: 607 lines (19 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.
return: array Array of information regarding the child forums of this parent forum
param: int $pid The parent forum to fetch the child forums for (0 assumes all)
param: int $depth The depth to return forums with.

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
return: array Array of the folder image to be shown and the alt text
param: array $forum Array of information about the forum
param: array $lastpost Array of information about the lastpost date
param: int $locked Whether or not this forum is locked or not

get_forum_unapproved($forum)   X-Ref
Fetch the number of unapproved posts, formatted, from a forum
return: array Array containing formatted string for posts and string for threads
param: array $forum Array of information about the forum



2005 - 2021 © MyBB.de | Alle Rechte vorbehalten! | Sponsor: netcup Cross-referenced by PHPXref