[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/Browser/ -> imode.php (sommaire)

(pas de description)

Poids: 411 lignes (13 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Browser_imode:: (12 méthodes):
  Browser_imode()
  getImageDimensions()
  getTextDimensions()
  getCache()
  getManufacturer()
  getExtra()
  getImageFormats()
  getColor()
  getHTTPVersion()
  isColor()
  isGreyScale()
  isBlackAndWhite()


Classe: Browser_imode  - X-Ref

The Browser_imode:: class extends the Browser API by providing
specific information about Imode handsets.

$Horde: framework/Browser/Browser/imode.php,v 1.7.12.5 2006/01/01 21:28:09 jan Exp $

Copyright 2000-2006 Mika Tuupola
Copyright 2002-2006 Chuck Hagenbuch <chuck@horde.org>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Browser_imode($input)   X-Ref
Does not handle bogus user_agents or most of the other error
situation properly yet.

Example usage:
$ua = &new Browser_imode($_SERVEr['HTTP_USER_AGENT']);

param: string $input  The user agent to match.

getImageDimensions()   X-Ref
Example usage:
$imagedim    = $ua->getImageDimensions();
$imagewidth  = $imagedim[0];
$imageheight = $imagedim[1];

return: array  The maximum imagewidth and imageheight that

getTextDimensions()   X-Ref
Example usage:
$textdim    = $ua->getTextDimensions();
$textwidth  = $textdim[0];
$textheight = $textdim[1];

return: array  The Maximum textwidth and textheight that

getCache()   X-Ref

return: integer  The amount of handset cache in kilobytes.

getManufacturer()   X-Ref
Pas de description

getExtra()   X-Ref
Pas de description

getImageFormats()   X-Ref
Pas de description

getColor()   X-Ref

return: integer  Which color model the handset supports.

getHTTPVersion()   X-Ref
Pas de description

isColor()   X-Ref
Pas de description

isGreyScale()   X-Ref
Pas de description

isBlackAndWhite()   X-Ref
Pas de description



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7