The mobileOKPythiaForMoodle class contains the logic of the mobileOK Pythia plugin for Wordpress for regular non-admin pages.
The class wraps the common AskPythia and TransPythia libraries for use in Moodle.
The mobileOK Pythia plugin is designed to help generate a mobileOK version of a course.
Located in /plugins/moodle/mobileOKPythia/includes/mobileOKPythiaForMoodle.php (line 50)
Creates an empty instance of the mobileOKPythia class
Serves the page with an HTTP Link header to a POWDER file that asserts that the blog is mobileOK.
Transcodes content before delivery.
Determines the Content-Type that should be used based on the Accept HTTP header sent by the requesting device.
Retrieves a transcoder that applies to HTML content.
The transcoding actions are selected based on the options of the plugin.
Initializes this instance, i.e. prepares the identification of the requesting device.
Switches template based on the requesting device.
A mobile template is used when the requesting device is identified as mobile, the regular desktop template is used otherwise.
This method is a wrapper around the TranscodingActionSwitchTemplate transcoding action.
Documentation generated on Tue, 17 Nov 2009 19:00:39 +0100 by phpDocumentor 1.4.2