Source for file imagelist.php
Documentation is available at imagelist.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Supports an HTML select list of image
* @package Joomla.Platform
protected $type =
'ImageList';
* Method to get the list of images field options.
* Use the filter attribute to specify allowable file extensions.
* @return array The field option objects.
// Define the image file type filter.
$filter =
'\.png$|\.gif$|\.jpg$|\.bmp$|\.ico$|\.jpeg$|\.psd$|\.eps$';
// Set the form field element attribute for file type filter.
$this->element->addAttribute('filter', $filter);
// Get the field options.
Documentation generated on Tue, 19 Nov 2013 15:05:18 +0100 by phpDocumentor 1.4.3