[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/gallery/resizers/ -> gddetector.class.php (source)

   1  <?php
   2  
   3      
   4      
   5      /** 
   6       * \ingroup Gallery_resizer
   7       *
   8       * Implementes the detectGd method which returns true if the GD library
   9       * is available in this host
  10       *
  11       */
  12      class GdDetector 
  13      {
  14  		function GdDectector()
  15          {
  16              
  17          }
  18          
  19          /**
  20           * Returns true if the GD library is available in this host, or false
  21           * otherwise.
  22           *
  23           * @return true if available or false otherwise
  24           * @static
  25           */
  26  		function detectGd()
  27          {
  28              // the imagecreate() method has been in GD since PHP 3 so it's
  29              // a safe bet to consider GD available if this function is available
  30              return( function_exists( "imagecreate" ));
  31          }
  32      }


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics