You are here

class MobileDeviceDetection in Mobile Device Detection 8

Same name and namespace in other branches
  1. 8.3 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection
  2. 8.2 src/Object/MobileDeviceDetection.php \Drupal\mobile_device_detection\Object\MobileDeviceDetection

Hierarchy

Expanded class hierarchy of MobileDeviceDetection

1 string reference to 'MobileDeviceDetection'
mobile_device_detection.services.yml in ./mobile_device_detection.services.yml
mobile_device_detection.services.yml
1 service uses MobileDeviceDetection
object.mdd in ./mobile_device_detection.services.yml
Drupal\mobile_device_detection\Object\MobileDeviceDetection

File

src/Object/MobileDeviceDetection.php, line 9

Namespace

Drupal\mobile_device_detection\Object
View source
class MobileDeviceDetection extends MobileDeviceDetectionObject implements MobileDeviceDetectionInterface {

  /**
   * {@inheritdoc}
   */
  public function __construct(MobileDeviceDetectionAttributes $attributes) {
    parent::__construct($attributes);
  }

  /**
   * {@inheritdoc}
   */
  public function getObject() {
    return parent::getObject();
  }

  /**
   * {@inheritdoc}
   */
  public function isMobile() {
    return parent::isMobile();
  }

  /**
   * {@inheritdoc}
   */
  public function isTablet() {
    return parent::isTablet();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MobileDeviceDetection::getObject public function * Overrides MobileDeviceDetectionObject::getObject
MobileDeviceDetection::isMobile public function * Overrides MobileDeviceDetectionObject::isMobile
MobileDeviceDetection::isTablet public function * Overrides MobileDeviceDetectionObject::isTablet
MobileDeviceDetection::__construct public function The constructoror Overrides MobileDeviceDetectionObject::__construct
MobileDeviceDetectionObject::$attributes private property MobileDeviceDetectionAttributes
MobileDeviceDetectionObject::$cloud_headers private property The MobileDeviceDetectionObject cloud_headers
MobileDeviceDetectionObject::$mobile_headers private property The MobileDeviceDetectionObject mobile_headers
MobileDeviceDetectionObject::$object private property The MobileDeviceDetectionObject object
MobileDeviceDetectionObject::$user_agent_headers private property The MobileDeviceDetectionObject user_agent_headers
MobileDeviceDetectionObject::check private function
MobileDeviceDetectionObject::getAttributes protected function
MobileDeviceDetectionObject::getBrowser private function
MobileDeviceDetectionObject::getCloudHeaders protected function
MobileDeviceDetectionObject::getMobileHeaders protected function
MobileDeviceDetectionObject::getOperatingSystem private function
MobileDeviceDetectionObject::getUserAgentHeaders protected function
MobileDeviceDetectionObject::init private function
MobileDeviceDetectionObject::setAttributes protected function
MobileDeviceDetectionObject::setCloudHeaders protected function
MobileDeviceDetectionObject::setMobileHeaders protected function
MobileDeviceDetectionObject::setUserAgentHeaders protected function
MobileDeviceDetectionObject::_get private function
MobileDeviceDetectionObject::_match private function
MobileDeviceDetectionObject::_version private function