CoreFiles by mySites.guru
JsonapiView.php49 lines, 915 bytes, from Joomla_4.2.1-rc2-Release_Candidate-Full_Package.zip
Raw History Compare with 4.2.1-rc1
md5
92edc2c288a2ce5cadd1c34ada5b0a80
sha1
0ee88d21b4c2d6caf960b4703e48916b80047fd6
sha256
0bfa8d4459339268f17c7b59e34976ca8da9df89c348c1c3c69d26f118ddbc5f
<?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;

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 5 releases, Joomla 4.2.0-beta3 to 4.2.1-rc2. See them all, or every version of this file.