MobileSupportTrait
trait MobileSupportTrait
Theme나 skin과 같이 html을 출력하는 컴포넌트에서 사용할 수 있는 Trait으로서, 컴포넌트가 mobile 버전, desktop 버전을 지원하는지에 대한 정보를 제공한다.
Properties
static protected bool | $supportDesktop | ||
static protected bool | $supportMobile |
Methods
static bool
supportDesktop()
desktop 버전 지원 여부를 조사한다.
static bool
supportMobile()
mobile 버전 지원 여부를 조사한다.
static bool
support(string $version)
지정된 버전을 지원하는지 조사한다.
Details
at line 42
static bool
supportDesktop()
desktop 버전 지원 여부를 조사한다.
at line 52
static bool
supportMobile()
mobile 버전 지원 여부를 조사한다.
at line 64
static bool
support(string $version)
지정된 버전을 지원하는지 조사한다.