\ABTestingScheme
An AB testing scheme is one where there are a predefined number of variations, and one is chosen at random.
Synopsis
class ABTestingScheme
extends VaryingPersonalisationScheme
{
- // members
- public static array $db = ;
- public static boolean $is_abstract = false;
- // Inherited members from VaryingPersonalisationScheme
- public static array $db;
- public static array $has_many;
- public static boolean $is_abstract;
- // Inherited members from PersonalisationScheme
- public static array $db;
- public static array $has_many;
- public static array $summary_fields;
- public static boolean $is_abstract;
- // methods
- public void canCreate()
- public void personalise()
- public PersonalisationVariation getVariation()
- public void pickVariation()
- // Inherited methods from VaryingPersonalisationScheme
- public void getCMSFields()
- public void personalise()
- public void getContextProvider()
- public void getSelectionProvider()
- public void canCreate()
- public void getRenderProperty()
- protected void trackRender()
- // Inherited methods from PersonalisationScheme
- public null personalise()
- public static void personalise_with()
- public void canCreate()
- public void ajaxLink()
- public void getCMSFields()
- public void getReport()
Hierarchy
Extends
Members
public
- $db
- $db
- $db
- $has_many
- $has_many
- $is_abstract
- $is_abstract
- $is_abstract
- $summary_fields
Methods
public
- canCreate()
- getVariation() — Determine the variation that should be displayed.
- personalise()
- pickVariation() — Pick one of the variations of this scheme at random.
Inherited from VaryingPersonalisationScheme
protected
- trackRender() — If measurement is enabled for this scheme, then we need to track that this was rendered for the current identity.
public
- canCreate()
- getCMSFields()
- getContextProvider()
- getRenderProperty()
- getSelectionProvider()
- personalise()
Inherited from PersonalisationScheme
public
- ajaxLink()
- canCreate()
- getCMSFields()
- getReport()
- personalise() — Perform the personalisation. This should be overridden by sub classes.
- personalise_with()