PUF 1.0

Detect Class Reference

Public Member Functions

 is_iphone ()
 is_ipod ()
 is_ipad ()
 is_android ()
 is_palmpre ()
 is_blackberry ()
 is_ssl ()
 is_referral ()

Member Function Documentation

is_android ( )

Check to see if the Http User Agent is an Android.

public

Returns:
bool
is_blackberry ( )

Check to see if the Http User Agent is an BlackBerry.

public

Returns:
bool
is_ipad ( )

Check to see if the Http User Agent is an iPad.

public

Returns:
bool
is_iphone ( )

Check to see if the Http User Agent is an iPhone.

public

Returns:
bool
is_ipod ( )

Check to see if the Http User Agent is an iPod.

public

Returns:
bool
is_palmpre ( )

Check to see if the Http User Agent is an Palm Pre.

public

Returns:
bool
is_referral ( )

Check to see if this is this a referral.

Credit: http://codeigniter.com/user_guide/libraries/user_agent.html License: http://codeigniter.com/user_guide/license.html

public

Returns:
bool
is_ssl ( )

Check to see if SSL is used.

Credit: http://core.svn.wordpress.org/trunk/wp-includes/functions.php

public

Returns:
bool
 All Data Structures Functions