SproutCMS

This is the code documentation for the SproutCMS project

function displayCondition()

Register a display condition (this is part of the Context Engine on widgets)

Condition classes must extend the base class Sprout\Helpers\DisplayConditions\DisplayCondition

Usage

void Register::displayCondition ( string $class , string $group , string $label );

Arguments

  1. string $class
    Class name, including namespace
  2. string $group
    Label of the group, e.g. 'Platform'
  3. string $label
    Label of the condtion, e.g. 'Device category'

Return value

  • void