CoreFiles by mySites.guru
JsonapiView.php50 lines, 834 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
6f1599534092d5cf7a80a4f0003fc361
sha1
de1670b99c7413236dfd81c1c98ed246fbeca3af
sha256
e92b14d58c1cc86920f5395381e1e44e35fca06a43ddebda172c750ebcc29b5b
<?php
/**
 * @package     Joomla.API
 * @subpackage  com_users
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Users\Api\View\Groups;

\defined('_JEXEC') or die;

use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;

/**
 * The groups view
 *
 * @since  4.0.0
 */
class JsonapiView extends BaseApiView
{
	/**
	 * The fields to render item in the documents
	 *
	 * @var  array
	 * @since  4.0.0
	 */
	protected $fieldsToRenderItem = [
		'id',
		'parent_id',
		'lft',
		'rgt',
		'title',
	];

	/**
	 * The fields to render items in the documents
	 *
	 * @var  array
	 * @since  4.0.0
	 */
	protected $fieldsToRenderList = [
		'id',
		'parent_id',
		'lft',
		'rgt',
		'title',
	];
}

The same content is in 27 releases, Joomla 4.1.0-alpha1 to 4.2.0-beta2. See them all, or every version of this file.