ShrimpTest Interface class
Implements the default ShrimpTest UI
Located in /classes/interface.php (line 16)
message ID's
message ID's
message ID's
message ID's
message ID's
Reference to the local ShrimpTest_Model instance
Reference to the local ShrimpTest Core instance
The interface slug
This is the prefix on all ShrimpTest page names in wp-admin
Dummy constructor.
Hint: run init()
Include the experiments display page
Print some styles and JavaScript for all ShrimpTest admin pages
Register the ShrimpTest admin pages
Redirect the user to, or include the PHP for, the appropriate ShrimpTest "experiment" page, depending on whether we're viewing multiple experiments, saving an experiment, creating a new experiment, etc.
Include the settings page
Handler for adding the variant preview feature.
Checks to see if the WP Admin Bar plugin is installed. If not, we run print_shrimptest_widget().
If WP Admin Bar is installed, filter the Admin Bar info, splicing our menu items in for the variant preview feature.
Get the "menu items" array for use by WP Admin Bar.
If WP Admin Bar is not loaded, print_shrimptest_widget() can also use this output, though.
Initialization
Sets $slug to be, by default, 'shrimptest' and registers some actions.
Adds the ShrimpTest variant preview widget
Documentation generated on Sat, 04 Sep 2010 23:40:57 -0400 by phpDocumentor 1.4.3