[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

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

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

File Size: 594 lines (15 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 1 file
 inc/functions_calendar.php

Defines 1 class

EventDataHandler:: (8 methods):
  verify_name()
  verify_description()
  verify_date()
  verify_time()
  verify_repeats()
  validate_event()
  insert_event()
  update_event()


Class: EventDataHandler  - X-Ref

Event handling class, provides common structure to handle event data.

verify_name()   X-Ref
Verifies if an event name is valid or not and attempts to fix it

return: boolean True if valid, false if invalid.

verify_description()   X-Ref
Verifies if an event description is valid or not and attempts to fix it

return: boolean True if valid, false if invalid.

verify_date()   X-Ref
Verifies if an event date is valid or not and attempts to fix it

return: boolean True if valid, false if invalid.

verify_time($time)   X-Ref
No description

verify_repeats()   X-Ref
No description

validate_event()   X-Ref
Validate an event.

param: array The event data array.

insert_event()   X-Ref
Insert an event into the database.

param: array The array of event data.
return: array Array of new event details, eid and private.

update_event()   X-Ref
Updates an event that is already in the database.

param: array The event data array.



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