[ Index ]

PHP Cross Reference of MyBB 1.8.30

title

Body

[close]

/inc/datahandlers/ -> pm.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: 772 lines (21 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 2 files
 inc/functions_user.php
 inc/class_parser.php

Defines 1 class

PMDataHandler:: (8 methods):
  verify_subject()
  verify_message()
  verify_sender()
  verify_recipient()
  verify_pm_flooding()
  verify_options()
  validate_pm()
  insert_pm()


Class: PMDataHandler  - X-Ref

PM handling class, provides common structure to handle private messaging data.
verify_subject()   X-Ref
Verifies a private message subject.
return: boolean True when valid, false when invalid.

verify_message()   X-Ref
Verifies if a message for a PM is valid.
return: boolean True when valid, false when invalid.

verify_sender()   X-Ref
Verifies if the specified sender is valid or not.
return: boolean True when valid, false when invalid.

verify_recipient()   X-Ref
Verifies if an array of recipients for a private message are valid
return: boolean True when valid, false when invalid.

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

verify_options()   X-Ref
Verifies if the various 'options' for sending PMs are valid.
return: boolean True when valid, false when invalid.

validate_pm()   X-Ref
Validate an entire private message.
return: boolean True when valid, false when invalid.

insert_pm()   X-Ref
Insert a new private message.
return: array Array of PM useful data.



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