[ Index ]

PHP Cross Reference of MyBB 1.8.29

title

Body

[close]

/inc/datahandlers/ -> event.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: 643 lines (16 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

return: array|bool
param: string $time

verify_repeats()   X-Ref

return: bool

validate_event()   X-Ref
Validate an event.
return: bool

insert_event()   X-Ref
Insert an event into the database.
return: array Array of new event details, eid and private.

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



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