CoreFiles by mySites.guru
JsonapiView.php46 lines, 789 bytes, from Joomla_4.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 4.1.0-beta3
md5
b9ce20bda8719fb8d2a9f94a2c0e6e99
sha1
6040bca9dd43f88de4593ef03fd2eb6082e927ea
sha256
fc1989f38b20a3be7dead7e2550006879eea7f778e58872c1bef33c9355c6cba
<?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\Levels;

\defined('_JEXEC') or die;

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

/**
 * The levels 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',
		'title',
		'rules'
	];

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

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.