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

Class: Net_UserAgent_Mobile_Display

Source Location: /Net_UserAgent_Mobile-0.3/Mobile/Display.php

Class Overview


Display information for Net_UserAgent_Mobile


Author(s):

Version:

  • $Revision: 1.2 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
Display information for Net_UserAgent_Mobile

Net_UserAgent_Mobile_Display is a class for display information on Net_UserAgent_Mobile. Handy for image resizing or dispatching.



[ Top ]


Class Variables

$_depth =

[line 71]

depth of the display
  • Access: public

Type:   integer


[ Top ]



Method Detail

Net_UserAgent_Mobile_Display (Constructor)   [line 88]

Net_UserAgent_Mobile_Display Net_UserAgent_Mobile_Display( array $data)

Constructor

Parameters:

array   $data     display infomation

[ Top ]

calcSize   [line 105]

integer calcSize( )

returns width * height of the display
  • Access: public

[ Top ]

getDepth   [line 161]

integer getDepth( )

returns depth of the display
  • Access: public

[ Top ]

getHeight   [line 147]

integer getHeight( )

returns height of the display
  • Access: public

[ Top ]

getSize   [line 119]

array getSize( )

returns width with height of the display
  • Access: public

[ Top ]

getWidth   [line 133]

integer getWidth( )

returns width of the display
  • Access: public

[ Top ]

isColor   [line 175]

boolean isColor( )

returns true if the display has color capability
  • Access: public

[ Top ]


Documentation generated on Fri, 30 Apr 2004 22:24:22 +0200 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.