Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: device

Source Location: /system/classes/device.class.php

Class Overview




Methods



Class Details

[line 47]


[ Top ]


Class Methods


constructor __construct [line 53]

device __construct( )



[ Top ]

method compare [line 97]

boolean compare( constant $device)

Does current device accessing Geeklog equal passed device?



Tags:

access:  public


Parameters:

constant   $device   Device to compare current device accessing site

[ Top ]

method is_mobile [line 83]

boolean is_mobile( )

Is user device a mobile device?



Tags:

access:  public


[ Top ]

method type [line 123]

constant type( )

What type of device is the user using?



Tags:

return:  (DEVICE_PHONE, DEVICE_TABLET, DEVICE_COMPUTER)
access:  public


[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:47:33 +0000 by phpDocumentor 1.4.3