Source for file accesslevel.php
Documentation is available at accesslevel.php
* @package FrameworkOnFramework
* @copyright Copyright (C) 2010 - 2012 Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
// Protect from unauthorized access
* Access level field header
* @package FrameworkOnFramework
* Method to get the list of access levels
* @return array A list of access levels.
$query =
$db->getQuery(true);
$query->select('a.id AS value, a.title AS text');
$query->from('#__viewlevels AS a');
$query->group('a.id, a.title, a.ordering');
$query->order('a.ordering ASC');
$query->order($query->qn('title') .
' ASC');
$options =
$db->loadObjectList();
Documentation generated on Tue, 19 Nov 2013 14:53:18 +0100 by phpDocumentor 1.4.3