[ Index ]

PHP Cross Reference of phpBB 3.0 Beta 3

title

Body

[close]

/includes/ -> functions_posting.php (summary)

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id: functions_posting.php,v 1.200 2006/11/12 15:35:43 acydburn Exp $
File Size: 1982 lines (60 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 15 functions

  generate_smilies()
  update_post_information()
  posting_gen_topic_icons()
  posting_gen_topic_types()
  upload_attachment()
  get_img_size_format()
  get_supported_image_types()
  create_thumbnail()
  posting_gen_inline_attachments()
  posting_gen_attachment_entry()
  load_drafts()
  topic_review()
  user_notification()
  delete_post()
  submit_post()

Functions
Functions that are not part of a class:

generate_smilies($mode, $forum_id)   X-Ref
Fill smiley templates (or just the variables) with smileys, either in a window or inline


update_post_information($type, $ids, $return_update_sql = false)   X-Ref
Update Post Informations (First/Last Post in topic/forum)
Should be used instead of sync() if only the last post informations are out of sync... faster

param: string $type Can be forum|topic
param: mixed $ids topic/forum ids

posting_gen_topic_icons($mode, $icon_id)   X-Ref
Generate Topic Icons for display


posting_gen_topic_types($forum_id, $cur_topic_type = POST_NORMAL)   X-Ref
Build topic types able to be selected


upload_attachment($form_name, $forum_id, $local = false, $local_storage = '', $is_message = false)   X-Ref
Upload Attachment - filedata is generated here
Uses upload class


get_img_size_format($width, $height)   X-Ref
Calculate the needed size for Thumbnail


get_supported_image_types($type = false)   X-Ref
Return supported image types


create_thumbnail($source, $destination, $mimetype)   X-Ref
Create Thumbnail


posting_gen_inline_attachments(&$attachment_data)   X-Ref
Assign Inline attachments (build option fields)


posting_gen_attachment_entry(&$attachment_data, &$filename_data)   X-Ref
Generate inline attachment entry


load_drafts($topic_id = 0, $forum_id = 0, $id = 0)   X-Ref
Load Drafts


topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id = 0, $show_quote_button = true)   X-Ref
Topic Review


user_notification($mode, $subject, $topic_title, $forum_name, $forum_id, $topic_id, $post_id)   X-Ref
User Notification


delete_post($forum_id, $topic_id, $post_id, &$data)   X-Ref
Delete Post


submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $update_message = true)   X-Ref
Submit Post




Generated: Wed Nov 22 00:35:05 2006 Cross-referenced by PHPXref 0.6