[ Index ]

PHP Cross Reference of MyBB 1.8.27

title

Body

[close]

/inc/datahandlers/ -> post.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: 2034 lines (54 kb)
Included or required: 10 times
Referenced: 0 times
Includes or requires: 4 files
 inc/functions_user.php
 inc/datahandlers/user.php
 inc/class_moderation.php
 inc/class_parser.php

Defines 1 class

PostDataHandler:: (17 methods):
  verify_author()
  verify_subject()
  verify_message()
  verify_options()
  verify_post_flooding()
  verify_post_merge()
  verify_image_count()
  verify_video_count()
  verify_reply_to()
  verify_post_icon()
  verify_dateline()
  verify_prefix()
  validate_post()
  insert_post()
  validate_thread()
  insert_thread()
  update_post()


Class: PostDataHandler  - X-Ref

Post handling class, provides common structure to handle post data.
verify_author()   X-Ref
Verifies the author of a post and fetches the username if necessary.
return: boolean True if the author information is valid, false if invalid.

verify_subject()   X-Ref
Verifies a post subject.
return: boolean True when valid, false when not valid.

verify_message()   X-Ref
Verifies a post message.
return: bool

verify_options()   X-Ref
Verifies the specified post options are correct.
return: boolean True

verify_post_flooding()   X-Ref
Verify that the user is not flooding the system.
return: boolean

verify_post_merge($simple_mode=false)   X-Ref

param: bool $simple_mode
return: array|bool

verify_image_count()   X-Ref
Verifies the image count.
return: boolean True when valid, false when not valid.

verify_video_count()   X-Ref
Verifies the video count.
return: boolean True when valid, false when not valid.

verify_reply_to()   X-Ref
Verify the reply-to post.
return: boolean True when valid, false when not valid.

verify_post_icon()   X-Ref
Verify the post icon.
return: boolean True when valid, false when not valid.

verify_dateline()   X-Ref
Verify the dateline.
return: boolean True when valid, false when not valid.

verify_prefix()   X-Ref
Verify thread prefix.
return: boolean True when valid, false when not valid.

validate_post()   X-Ref
Validate a post.
return: boolean True when valid, false when invalid.

insert_post()   X-Ref
Insert a post into the database.
return: array Array of new post details, pid and visibility.

validate_thread()   X-Ref
Validate a thread.
return: boolean True when valid, false when invalid.

insert_thread()   X-Ref
Insert a thread into the database.
return: array Array of new thread details, tid and visibility.

update_post()   X-Ref
Updates a post that is already in the database.
return: array



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