[ Index ]

PHP Cross Reference of MyBB




/inc/ -> functions_post.php (summary)

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

File Size: 771 lines (25 kb)
Included or required: 23 times
Referenced: 0 times
Includes or requires: 2 files

Defines 2 functions


Functions that are not part of a class:

build_postbit($post, $post_type=0)   X-Ref
Build a post bit

param: array The post data
param: int The type of post bit we're building (1 = preview, 2 = pm, 3 = announcement, else = post)
return: string The built post bit

get_post_attachments($id, &$post)   X-Ref
Fetch the attachments for a specific post and parse inline [attachment=id] code.
Note: assumes you have $attachcache, an array of attachments set up.

param: int The ID of the item.
param: array The post or item passed by reference.

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