Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

ezpmobiledevicedetectfilter.php
Go to the documentation of this file.
1 <?php
12 class ezpMobileDeviceDetectFilter
13 {
20 public static function getFilter()
21 {
22 $mobileDeviceFilterClass = eZINI::instance()->variable( 'SiteAccessSettings', 'MobileDeviceFilterClass' );
23
24 $mobileDeviceDetectFilter = class_exists( $mobileDeviceFilterClass) ? new $mobileDeviceFilterClass : null;
25
26 if ( $mobileDeviceDetectFilter instanceof ezpMobileDeviceDetectFilterInterface )
27 return $mobileDeviceDetectFilter;
28
29 return null;
30 }
31 }
ezpMobileDeviceDetectFilter
Definition: ezpmobiledevicedetectfilter.php:13
ezpMobileDeviceDetectFilter\getFilter
static getFilter()
Definition: ezpmobiledevicedetectfilter.php:20
ezpMobileDeviceDetectFilterInterface
Definition: ezpmobiledevicedetectfilterinterface.php:13
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.