phpDocumentor SquareThumb
Classes
[ class tree: SquareThumb ] [ index: SquareThumb ] [ all elements ]

Class: SquareThumbToolkit

Source Location: /modules/squarethumb/classes/SquareThumbToolkit.class

Class SquareThumbToolkit

Class Overview

A version of GalleryToolkit to enforce creation of square thumbnails

Located in /modules/squarethumb/classes/SquareThumbToolkit.class [line 35]

GalleryToolkit
   |
   --SquareThumbToolkit

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryToolkit

GalleryToolkit::applyTransform()
Apply the transform operation to the set of target operations. The transform operation
GalleryToolkit::estimateDimensions()
Estimate the dimensions of a GalleryDerivativeImage from its operations and its source.
GalleryToolkit::getProperty()
Get a certain property of a file
GalleryToolkit::mergeOperations()
Merge two operations together in an intelligent way. The end result of
GalleryToolkit::performOperation()
Perform a certain operation

[ Top ]
Method Summary
void   estimateDimensions()   Estimate the dimensions of a GalleryDerivativeImage from its operations and its source.
void   getProperty()  
void   performOperation()  
array   _getThumbnailToolkit()   Get toolkit for thumbnail operation.

[ Top ]
Methods
estimateDimensions  [line 229]

  void estimateDimensions( &$derivative, GalleryDerivativeEntity $source, GalleryDerivativeImage $derivative  )

Estimate the dimensions of a GalleryDerivativeImage from its operations and its source.

Parameters:
GalleryDerivativeImage   $derivative:  the derivative
GalleryDerivativeEntity   $source:  the source (probably a GalleryPhotoItem or GalleryMovieItem)
   &$derivative: 


Redefinition of:
GalleryToolkit::estimateDimensions()
Estimate the dimensions of a GalleryDerivativeImage from its operations and its source.

[ Top ]
getProperty  [line 40]

  void getProperty( $mimeType, $propertyName, $sourceFilename  )

Parameters:
   $mimeType: 
   $propertyName: 
   $sourceFilename: 

API Tags:
See:  GalleryToolkit::getProperty


Redefinition of:
GalleryToolkit::getProperty()
Get a certain property of a file

[ Top ]
performOperation  [line 47]

  void performOperation( $mimeType, $operationName, $sourceFilename, $destFilename, $parameters, [ $context = array()]  )

Parameters:
   $mimeType: 
   $operationName: 
   $sourceFilename: 
   $destFilename: 
   $parameters: 
   $context: 

API Tags:
See:  GalleryToolkit::performOperation


Redefinition of:
GalleryToolkit::performOperation()
Perform a certain operation

[ Top ]
_getThumbnailToolkit  [line 268]

  array _getThumbnailToolkit( string $mimeType  )

Get toolkit for thumbnail operation.

Parameters:
string   $mimeType: 

API Tags:
Return:  GalleryStatus a status code GalleryToolkit
Access:  private


[ Top ]

Documentation generated on Fri, 03 Oct 2008 06:11:49 -0700 by phpDocumentor 1.3.0RC6