[ 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/ -> galleryabstractresizer.class.php (sommaire)

(pas de description)

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

Définit 1 class

GalleryAbstractResizer:: (3 méthodes):
  GalleryAbstractResizer()
  setKeepAspectRatio()
  generate()


Classe: GalleryAbstractResizer  - X-Ref

\ingroup Gallery_resizer

Abstract class for generating thumbnails. It actually provides no methods but only
the skeleton of the functions that should be implemented by the generators
themselves.
GalleryAbstractResizer( $image, $outputMethod )   X-Ref
Constructor.


setKeepAspectRatio( $keepAspectRatio )   X-Ref
Informs the resizer to keep the aspect ratio of the image when resizing, although
this value may be ignored by the resizer and it depends on the implementation.

param: keepAspectRatio Whether to keep the aspect ratio

generate( $outFile, $width, $height )   X-Ref
Generates the thumbnail
Uses the values set in the constructor regarding the width, height and output format

return: Returns a the path to the thumbnail that was generated, or empty if error



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