[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Joomla! Content Management System 5 * 6 * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10 namespace Joomla\CMS\Form\Field; 11 12 use Joomla\CMS\HTML\HTMLHelper; 13 14 // phpcs:disable PSR1.Files.SideEffects 15 \defined('JPATH_PLATFORM') or die; 16 // phpcs:enable PSR1.Files.SideEffects 17 18 /** 19 * Form Field class for the Joomla Platform. 20 * Provides a list of access levels. Access levels control what users in specific 21 * groups can see. 22 * 23 * @see JAccess 24 * @since 1.7.0 25 */ 26 class AccesslevelField extends ListField 27 { 28 /** 29 * The form field type. 30 * 31 * @var string 32 * @since 1.7.0 33 */ 34 protected $type = 'Accesslevel'; 35 36 /** 37 * Method to get the field options. 38 * 39 * @return array The field option objects. 40 * 41 * @since 4.0.0 42 */ 43 protected function getOptions() 44 { 45 return array_merge(parent::getOptions(), HTMLHelper::_('access.assetgroups')); 46 } 47 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |