ShrimpTest Title variant type class
An object-oriented variant type specification. This class name is handed to register_shrimptest_variant_type() at the end of this file so it is registered.
Many of the properties in the resulting object are there as register_shrimptest_variant_type() expects them.
Located in /plugins/variant-title.php (line 23)
The meta key used to store the experiment id for the post
The user-facing label for the variant
The meta key used to store the alternative titles
Set so that this variant can only be set programmatically:
Constructor
Sets up actions and filters.
Register the 'Alternative titles' meta box
Print a message in the 'variant extra' section of the 'Add new experiment' screen
Print a message at the end of the page/post noting that an inactive experiment exists
Print styling and JavaScript for the 'Add new experiment' page
Get an array of alternative titles (variants) for this post/experiment
Return the variant_name property from the given object
Use the POST data to create or update the associated experiment
Return the appropriate title, depending on the visitor's experiment status
It is registered against the the_title filter.
Print the 'Alternative titles' meta box
Documentation generated on Sat, 04 Sep 2010 23:40:58 -0400 by phpDocumentor 1.4.3