\SecureImage
extended_image/code/SecureImage.php
SecureImage allows to chain its modification methods.
Also the resampled Filenames are saved in md5.
Synopsis
class SecureImage
extends Image
implements
Flushable
{
- // members
- protected array $attributes = ;
- private static bool $flush = false;
- // methods
- public static void flush()
- public void setAttribute()
- public string getAttribute()
- public array getAttributes()
- public string getAttributesHTML()
- public string getTag()
- public SecureImage_Cached getFormattedImage()
- public string cacheFilename()
Hierarchy
Extends
- Image
Implements
- Flushable
Members
Methods
public
- cacheFilename() — Return the filename for the cached image, given it's format name and arguments.
- flush() — Triggered early in the request when someone requests a flush.
- getAttribute() — Get an HTML attribute defined by the field, or added through {@link setAttribute()}.
- getAttributes()
- getAttributesHTML()
- getFormattedImage() — Return an image object representing the image in the given format.
- getTag() — Return an XHTML img tag for this Image, or NULL if the image file doesn't exist on the filesystem.
- setAttribute() — Set an HTML attribute on the field element, mostly an <input> tag.