JHtmlList
class JHtmlList
Utility class for creating different select lists
Methods
static
array
images(
string $name,
string $active = null,
string $javascript = null,
string $directory = null,
string $extensions = 'bmp|gif|jpg|png')
Build the select list to choose an image
static
array
genericordering(
string $query,
integer $chop = 30)
Returns an array of options
static
string
ordering(
integer $name,
string $query,
string $attribs = null,
string $selected = null,
integer $neworder = null)
Build the select list for Ordering derived from a query
static
string
users(
string $name,
string $active,
integer $nouser,
string $javascript = null,
string $order = 'name')
Select list of active users
static
array
positions(
string $name,
string $active = null,
string $javascript = null,
boolean $none = true,
boolean $center = true,
boolean $left = true,
boolean $right = true,
boolean $id = false)
Select list of positions - generally used for location of images
Details
static
array
images(
string $name,
string $active = null,
string $javascript = null,
string $directory = null,
string $extensions = 'bmp|gif|jpg|png')
Build the select list to choose an image
static
string
ordering(
integer $name,
string $query,
string $attribs = null,
string $selected = null,
integer $neworder = null)
Build the select list for Ordering derived from a query