클래스·함수 명세

Mobile

Mobile (전역 클래스) 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: classes/mobile/Mobile.class.php

공개 메서드

  • function getInstance()
  • Get instance of Mobile class
  • static function isFromMobilePhone()
  • Get current mobile mode
  • static function _isFromMobilePhone()
  • Get current mobile mode
  • static function isMobileCheckByAgent()
  • Detect mobile device by user agent
  • static function isMobilePadCheckByAgent()
  • Check if user-agent is a tablet PC as iPad or Andoid tablet.
  • static function setMobile($ismobile)
  • Set mobile mode
  • static function isMobileEnabled()
  • Check if mobile view is enabled
  • static function isResponsiveViewEnabled()
  • Check if the responsive view is enabled globally.
  • static function getViewMode($module_info = null)
  • Resolve the view mode that applies to the module being displayed.
  • static function isResponsiveView($module_info = null)
  • Check if the responsive view applies to the module being displayed.
  • static function sanitizeViewMode($value)
  • Normalize a submitted view mode before storing it.
  • static function getViewModeLabel($mode)
  • Human-readable label for a view mode, for admin screens.
  • static function isNarrowScreen()
  • Check whether the current screen is narrow enough to use mobile settings.