Public Member Functions | |
| SPTImage ($ImageIdOrFileNameOrImageObj, $MaxPreviewWidth=NULL, $MaxPreviewHeight=NULL, $MaxThumbnailWidth=NULL, $MaxThumbnailHeight=NULL) | |
| Id () | |
| Url () | |
| PreviewUrl () | |
| ThumbnailUrl () | |
| Format () | |
| Height () | |
| Width () | |
| PreviewHeight () | |
| PreviewWidth () | |
| ThumbnailHeight () | |
| ThumbnailWidth () | |
| ImageStorageDirectory () | |
| PreviewStorageDirectory () | |
| ThumbnailStorageDirectory () | |
| GetLink () | |
| AltText ($NewValue=NULL) | |
| Delete () | |
| Status () | |
| CheckDirectories () | |
| CreateNewImage ($FileName, $MaxPreviewWidth, $MaxPreviewHeight, $MaxThumbnailWidth, $MaxThumbnailHeight) | |
| LoadImageInfo ($ImageId) | |
| CreateCopyOfImage ($SrcImage) | |
| SetFileNames () | |
| GenerateNewImageId () | |
| SaveImageInfo () | |
Public Attributes | |
| $Id | |
| $FileName | |
| $ImagePath | |
| $PreviewPath | |
| $ThumbnailPath | |
| $PreviewFileName | |
| $ThumbnailFileName | |
| $Format | |
| $AltText | |
| $Url | |
| $PreviewUrl | |
| $ThumbnailUrl | |
| $Height | |
| $Width | |
| $PreviewHeight | |
| $PreviewWidth | |
| $ThumbnailHeight | |
| $ThumbnailWidth | |
| $DB | |
| $ErrorStatus | |
Definition at line 36 of file SPTImage.php.
| SPTImage::AltText | ( | $ | NewValue = NULL |
) |
Definition at line 100 of file SPTImage.php.
References Id().
Referenced by CreateCopyOfImage(), and LoadImageInfo().

| SPTImage::CheckDirectories | ( | ) |
Definition at line 143 of file SPTImage.php.
References $ImagePath, $PreviewPath, and $ThumbnailPath.
| SPTImage::CreateCopyOfImage | ( | $ | SrcImage | ) |
Definition at line 376 of file SPTImage.php.
References AltText(), Format(), GenerateNewImageId(), Height(), Id(), PreviewHeight(), PreviewWidth(), SaveImageInfo(), SetFileNames(), ThumbnailHeight(), ThumbnailWidth(), and Width().
Referenced by SPTImage().

| SPTImage::CreateNewImage | ( | $ | FileName, | |
| $ | MaxPreviewWidth, | |||
| $ | MaxPreviewHeight, | |||
| $ | MaxThumbnailWidth, | |||
| $ | MaxThumbnailHeight | |||
| ) |
Definition at line 245 of file SPTImage.php.
References $FileName, Format(), GenerateNewImageId(), Height(), Id(), Image::MissingExternalExecutables(), PreviewHeight(), PreviewWidth(), SaveImageInfo(), SetFileNames(), ThumbnailHeight(), ThumbnailWidth(), and Width().
Referenced by SPTImage().

| SPTImage::Delete | ( | ) |
| SPTImage::Format | ( | ) |
Definition at line 87 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), LoadImageInfo(), SaveImageInfo(), and SetFileNames().

| SPTImage::GenerateNewImageId | ( | ) |
Definition at line 425 of file SPTImage.php.
Referenced by CreateCopyOfImage(), and CreateNewImage().

| SPTImage::GetLink | ( | ) |
Definition at line 97 of file SPTImage.php.
| SPTImage::Height | ( | ) |
Definition at line 88 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::Id | ( | ) |
Definition at line 83 of file SPTImage.php.
Referenced by AltText(), CreateCopyOfImage(), CreateNewImage(), Delete(), LoadImageInfo(), SaveImageInfo(), and SetFileNames().

| SPTImage::ImageStorageDirectory | ( | ) |
Definition at line 94 of file SPTImage.php.
| SPTImage::LoadImageInfo | ( | $ | ImageId | ) |
Definition at line 353 of file SPTImage.php.
References AltText(), Format(), Height(), Id(), PreviewHeight(), PreviewWidth(), SetFileNames(), ThumbnailHeight(), ThumbnailWidth(), and Width().
Referenced by SPTImage().

| SPTImage::PreviewHeight | ( | ) |
Definition at line 90 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::PreviewStorageDirectory | ( | ) |
Definition at line 95 of file SPTImage.php.
| SPTImage::PreviewUrl | ( | ) |
Definition at line 85 of file SPTImage.php.
| SPTImage::PreviewWidth | ( | ) |
Definition at line 91 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::SaveImageInfo | ( | ) |
Definition at line 437 of file SPTImage.php.
References Format(), Id(), and ThumbnailHeight().
Referenced by CreateCopyOfImage(), and CreateNewImage().

| SPTImage::SetFileNames | ( | ) |
Definition at line 405 of file SPTImage.php.
References Image::Extension(), Format(), and Id().
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::SPTImage | ( | $ | ImageIdOrFileNameOrImageObj, | |
| $ | MaxPreviewWidth = NULL, |
|||
| $ | MaxPreviewHeight = NULL, |
|||
| $ | MaxThumbnailWidth = NULL, |
|||
| $ | MaxThumbnailHeight = NULL | |||
| ) |
Definition at line 41 of file SPTImage.php.
References CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().
| SPTImage::Status | ( | ) |
Definition at line 135 of file SPTImage.php.
| SPTImage::ThumbnailHeight | ( | ) |
Definition at line 92 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), LoadImageInfo(), and SaveImageInfo().

| SPTImage::ThumbnailStorageDirectory | ( | ) |
Definition at line 96 of file SPTImage.php.
| SPTImage::ThumbnailUrl | ( | ) |
Definition at line 86 of file SPTImage.php.
| SPTImage::ThumbnailWidth | ( | ) |
Definition at line 93 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::Url | ( | ) |
Definition at line 84 of file SPTImage.php.
| SPTImage::Width | ( | ) |
Definition at line 89 of file SPTImage.php.
Referenced by CreateCopyOfImage(), CreateNewImage(), and LoadImageInfo().

| SPTImage::$AltText |
Definition at line 232 of file SPTImage.php.
| SPTImage::$DB |
Definition at line 242 of file SPTImage.php.
| SPTImage::$ErrorStatus |
Definition at line 243 of file SPTImage.php.
| SPTImage::$FileName |
| SPTImage::$Format |
Definition at line 231 of file SPTImage.php.
| SPTImage::$Height |
Definition at line 236 of file SPTImage.php.
| SPTImage::$Id |
Definition at line 224 of file SPTImage.php.
| SPTImage::$ImagePath |
| SPTImage::$PreviewFileName |
Definition at line 229 of file SPTImage.php.
| SPTImage::$PreviewHeight |
Definition at line 238 of file SPTImage.php.
| SPTImage::$PreviewPath |
| SPTImage::$PreviewUrl |
Definition at line 234 of file SPTImage.php.
| SPTImage::$PreviewWidth |
Definition at line 239 of file SPTImage.php.
| SPTImage::$ThumbnailFileName |
Definition at line 230 of file SPTImage.php.
| SPTImage::$ThumbnailHeight |
Definition at line 240 of file SPTImage.php.
| SPTImage::$ThumbnailPath |
| SPTImage::$ThumbnailUrl |
Definition at line 235 of file SPTImage.php.
| SPTImage::$ThumbnailWidth |
Definition at line 241 of file SPTImage.php.
| SPTImage::$Url |
Definition at line 233 of file SPTImage.php.
| SPTImage::$Width |
Definition at line 237 of file SPTImage.php.