SproutCMS

This is the code documentation for the SproutCMS project

class DeviceCategory

Display condtion for device category - desktop, mobile, tablet

Source code (3 results)

/sprout/Helpers/DisplayConditions/Platform/DeviceCategory.php   Highlighted file source

Line 23: class DeviceCategory extends DisplayConditionEnum

/sprout/Helpers/UserAgent.php   Highlighted file source

Line 62: public static function getDeviceCategory() {
Line 70: return 'dc-' . self::getDeviceCategory();

/sprout/sprout_load.php   Highlighted file source

Line 63: Register::displayCondition('Sprout\\Helpers\\DisplayConditions\\Platform\\DeviceCategory', 'Platform', 'Device category');

A total of 4 lines in 3 files were found