[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/inc/datahandlers/ -> pm.php (summary)

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

File Size: 702 lines (19 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 1 file
 inc/functions_user.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 True

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.



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