Rename Pad PaddedImage, to be consistant with CroppedImage

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40948 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-28 01:26:52 +00:00
parent 2d0ec721d0
commit 35665321b9

View File

@ -218,7 +218,7 @@ class Image extends File {
return $gd->croppedResize($this->stat('strip_thumbnail_width'),$this->stat('strip_thumbnail_height')); return $gd->croppedResize($this->stat('strip_thumbnail_width'),$this->stat('strip_thumbnail_height'));
} }
function generatePad(GD $gd, $width, $height) { function generatePaddedImage(GD $gd, $width, $height) {
return $gd->paddedResize($width, $height); return $gd->paddedResize($width, $height);
} }