Display condtion for the 'utm_campaign' field
This is the code documentation for the SproutCMS project
Search documentation |
class UtmCampaignDisplay condtion for the 'utm_campaign' field
Functions
protected getCurrentValuestring $UtmCampaign->getCurrentValue ( array $env ); Return the current value of the variable public getOperators (from DisplayConditionString)array $DisplayConditionString->getOperators ( ); Return the list of operators for the condition value Common values would be 'equals', 'not equals', 'less than', 'contains', etc public getParamType (from DisplayConditionString)string $DisplayConditionString->getParamType ( ); Return the type of parameter for UI display Only two types are supported - 'text' or 'dropdown' public getParamValues (from DisplayCondition)array $DisplayCondition->getParamValues ( ); Return the available values for dropdowns public match (from DisplayConditionString)bool $DisplayConditionString->match ( array $env , string $op , string $val ); Does a given condition match? Calls DisplayConditionEnum::getCurrentValue to get the current value And then does the comparison against $val based on $op |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|