public static
getAllTagsSelectBox
(mixed $name, mixed $id, mixed $activeArray, mixed $javascript = NULL, mixed $order = 'id')
public static function getAllTagsSelectBox($name, $id, $activeArray, $javascript = NULL, $order = 'id')
{
$db = Factory::getDBO();
$query = 'SELECT a.id AS value, a.title AS text' . ' FROM #__phocagallery_tags AS a' . ' ORDER BY ' . $order;
$db->setQuery($query);
$tags = $db->loadObjectList();
$tagsO = HTMLHelper::_('select.genericlist', $tags, $name, 'class="form-control" size="4" multiple="multiple"' . $javascript, 'value', 'text', $activeArray, $id);
return $tagsO;
}