\ThumbnailStripField
Provides a strip of thumbnails showing all of the images in the system.
It will be tied to a 'parent field' that will provide it with a filter by which to reduce the number
of thumbnails displayed.
Synopsis
class ThumbnailStripField
extends FormField
{
- // members
- protected $parentField;
- protected $updateMethod;
- protected static integer $default_image_width = 600;
- protected static integer $default_image_height = 600;
- protected static boolean $use_legacy_image_search = false;
- // methods
- public static void set_default_image_width()
- public static void set_default_image_height()
- public static void set_use_legacy_image_search()
- public static boolean get_use_legacy_image_search()
- public void __construct()
- public void ParentField()
- public void FieldHolder()
- public void UpdateMethod()
- public void getimages()
- public void getflash()
Hierarchy
Extends
- FormField
Members
protected
- $default_image_height
-
$default_image_width
Make default image width & height configurable - $parentField
- $updateMethod
- $use_legacy_image_search
—
boolean
If this is enabled, then ommitting a folderID when calling getimages will search ALL folders.
Methods
public
- __construct()
- FieldHolder()
- ParentField()
- UpdateMethod()
- get_use_legacy_image_search() — getter for ThumbnailStripField::use_legacy_image_search
- getflash()
- getimages() — Populate the Thumbnail strip field, by looking for a folder, and the descendants of this folder.
- set_default_image_height()
- set_default_image_width()
- set_use_legacy_image_search() — setter for ThumbnailStripField::use_legacy_image_search