Class CalendarSolution_Detail

Description

The parent class for viewing and editing a specific event

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

CalendarSolution
   |
   --CalendarSolution_Detail
Direct descendents
Class Description
CalendarSolution_Detail_Html The means to view a specific event in HTML format
CalendarSolution_Detail_Form The means to edit a specific event via an HTML form
CalendarSolution_Detail_Icalendar The means to view a specific event in iCalendar format
Method Summary
array get_array_from_bitwise (int $in)
int get_bitwise_from_array (array $in)
void run_query ([int $calendar_id = null])
void set_data_from_query ([int $calendar_id = null], [ $safe_markup = true], [ $escape_html = true])
Variables
Methods
get_array_from_bitwise (line 28)

Converts a bitwise number into an array of values that are a power of 2

  • return: the array of converted information
  • access: protected
array get_array_from_bitwise (int $in)
  • int $in: the number to convert
get_bitwise_from_array (line 50)

Converts array values to a bitwise value

  • return: the sum of the individual values
  • access: protected
int get_bitwise_from_array (array $in)
  • array $in: the array of integers to convert
run_query (line 72)

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

void run_query ([int $calendar_id = null])
  • int $calendar_id: the id number of the item to get (defaults to $_REQUEST['calendar_id'])
set_data_from_query (line 129)

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

void set_data_from_query ([int $calendar_id = null], [ $safe_markup = true], [ $escape_html = true])
  • int $calendar_id: the id number of the item to get
  • $safe_markup
  • $escape_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