Class CalendarSolution_FrequentEvent

Description

The parent class for viewing and editing a Frequent Event

Located in /include/CalendarSolution/FrequentEvent.php (line 20)

CalendarSolution
   |
   --CalendarSolution_FrequentEvent
Direct descendents
Class Description
CalendarSolution_FrequentEvent_Form The means to edit a Frequent Event via an HTML form
CalendarSolution_FrequentEvent_List The means to output a list of Frequent Events
Method Summary
void run_query ([int $frequent_event_id = null])
void set_data_from_query ([int $frequent_event_id = null], [bool $safe_markup = true])
Variables
Methods
run_query (line 36)

Assembles the query string, executes it and stores the result in $this->data

  • throws: CalendarSolution_Exception on an invalid $frequent_event_id or if no matching record is found
  • access: protected
  • uses: SQLSolution_General::RunQuery() - to access the database
  • uses: CalendarSolution::get_int_from_request() - to determine the user's intention
void run_query ([int $frequent_event_id = null])
  • int $frequent_event_id: the id number of the item to get (defaults to $_REQUEST['frequent_event_id'])

Redefined in descendants as:
set_data_from_query (line 71)

Populates $this->data with a record from the database

void set_data_from_query ([int $frequent_event_id = null], [bool $safe_markup = true])
  • int $frequent_event_id: the id number of the item to get
  • bool $safe_markup: should Safe Markup be converted to HTML?

Inherited Methods

Inherited From CalendarSolution

CalendarSolution::__construct()
CalendarSolution::convert_windows_characters()
CalendarSolution::escape_data_for_html()
CalendarSolution::escape_for_icalendar()
CalendarSolution::flush_cache()
CalendarSolution::format_date()
CalendarSolution::get_admin_navigation()
CalendarSolution::get_credit()
CalendarSolution::get_css()
CalendarSolution::get_date_from_request()
CalendarSolution::get_errors()
CalendarSolution::get_event_formatted_icalendar()
CalendarSolution::get_int_array_from_request()
CalendarSolution::get_int_from_request()
CalendarSolution::get_string_from_request()
CalendarSolution::is_admin()
CalendarSolution::is_cache_available()
CalendarSolution::set_data_empty()
CalendarSolution::set_data_from_post()
CalendarSolution::set_uri()
CalendarSolution::validate_csrf_token()
Class Constants

Documentation generated on Wed, 21 Mar 2012 14:16:42 -0400 by phpDocumentor 1.4.4