Class CalendarSolution_FeaturedPage

Description

The parent class for viewing and editing a Featured Page

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

CalendarSolution
   |
   --CalendarSolution_FeaturedPage
Direct descendents
Class Description
CalendarSolution_FeaturedPage_Form The means to edit a Featured Page via an HTML form
CalendarSolution_FeaturedPage_List The means to output a list of Featured Pages
Method Summary
void run_query ([int $feature_on_page_id = null])
void set_data_from_query ([int $feature_on_page_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 $feature_on_page_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 $feature_on_page_id = null])
  • int $feature_on_page_id: the id number of the item to get (defaults to $_REQUEST['feature_on_page_id'])

Redefined in descendants as:
set_data_from_query (line 70)

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

void set_data_from_query ([int $feature_on_page_id = null], [bool $safe_markup = true])
  • int $feature_on_page_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