Display condition for browser version - 3, 4, 5, etc Test is integerised, so therefore only checks the major number Only makes sense when a conditon for the browser itself is also selected
This is the code documentation for the SproutCMS project
Search documentation |
class BrowserVersionDisplay condition for browser version - 3, 4, 5, etc Test is integerised, so therefore only checks the major number Only makes sense when a conditon for the browser itself is also selected
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-16
**/
class NewClassName extends BrowserVersion {
/**
* Return the current value of the variable
* This is compared against the params returned by {@see DisplayCondition::getParamValues}
**/
protected function getCurrentValue (array $env) {
// Method code goes here
}
}
?>
|
| 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 |
|