[ Index ]
 

Code source de CMS made simple 1.0.5

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

title

Body

[fermer]

/lib/filemanager/ImageManager/Classes/ -> Thumbnail.php (sommaire)

Create thumbnails.

Author: $Author: Wei Zhuo $
Version: $Id: Thumbnail.php 2114 2005-11-04 21:51:13Z wishy $
Poids: 125 lignes (2 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 1 fichier
 lib/filemanager/ImageManager/Classes/Transform.php

Définit 1 class

Thumbnail:: (4 méthodes):
  Thumbnail()
  createThumbnail()
  save()
  free()


Classe: Thumbnail  - X-Ref

Thumbnail creation

Thumbnail($width=96, $height=96)   X-Ref
Create a new Thumbnail instance.

param: int $width thumbnail width
param: int $height thumbnail height

createThumbnail($file, $thumbnail=null)   X-Ref
Create a thumbnail.

param: string $file the image for the thumbnail
param: string $thumbnail if not null, the thumbnail will be saved
return: boolean true if thumbnail is created, false otherwise

save($file)   X-Ref
Save the thumbnail file.

param: string $file file name to be saved as.

free()   X-Ref
Free up the graphic driver resources.




Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7