Class mobileOKPythiaForWordpressAdmin

Description

The mobileOKPythiaForWordpressAdmin class contains the logic of the mobileOK Pythia plugin for Wordpress for admin pages.

The class generates the admin menu pages as needed and registers the admin hooks handled by the plugin.

The mobileOK Pythia plugin is designed to help generate a mobileOK version of a blog.

Located in /plugins/wordpress/mobileOKPythia/includes/mobileOKPythiaForWordpressAdmin.php (line 44)


	
			
Method Summary
void getCheckableOption ($optionName $optionName, $desc $desc)
void init ()
void printAllOptions ()
void printCheckableFieldset ($optionName $optionName, $legend $legend, $desc $desc, $innerOptions $innerOptions)
Methods
Constructor __construct (line 52)

Creates an empty instance of the mobileOKPythiaForWordpressAdmin class.

  • return: new mobileOKPythiaForWordpressAdmin instance.
  • access: public
A __construct ()
addLinkToMobileOKChecker (line 132)

Inserts a link to check current post with the W3C mobileOK Checker in the post authoring page.

  • access: public
void addLinkToMobileOKChecker ()
getCheckableOption (line 236)

Displays a checkable option.

void getCheckableOption ($optionName $optionName, $desc $desc)
  • $optionName $optionName: the name of the option in Wordpress database.
  • $desc $desc: a short description to explain the check box
init (line 59)

Initializes this instance, i.e. registers the hooks and prepares the identification of the requesting device.

  • access: public
void init ()
printAllOptions (line 153)

Displays all the options.

void printAllOptions ()
printAskPythiaOptions (line 256)

Prints options for AskPythia.

void printAskPythiaOptions ()
printCheckableFieldset (line 208)

Displays a checkable fieldset.

void printCheckableFieldset ($optionName $optionName, $legend $legend, $desc $desc, $innerOptions $innerOptions)
  • $optionName $optionName: string The name of the option in Wordpress database.
  • $legend $legend: string Legend of the fieldset
  • $desc $desc: string A short description of the option
  • $innerOptions $innerOptions: string Inner options that can be selected when the option is checked.
printImageResizingOptions (line 349)

Prints options for template switching.

void printImageResizingOptions ()
printPaginationOptions (line 375)

Prints options for pagination.

void printPaginationOptions ()
printPowderOptions (line 301)

Prints POWDER-related options

void printPowderOptions ()
printPrepareDatabase (line 407)

Prints the WURFL preparation database form

void printPrepareDatabase ()
printTablesLinearizationOptions (line 395)

Prints options for tables linearization.

void printTablesLinearizationOptions ()
printTemplateSwitchingOptions (line 327)

Prints options for template switching.

void printTemplateSwitchingOptions ()
printTransPythiaOptions (line 421)

Prints TransPythia options.

void printTransPythiaOptions ()

Documentation generated on Tue, 17 Nov 2009 19:00:39 +0100 by phpDocumentor 1.4.2