CoreFiles by mySites.guru
JsonapiView.php70 lines, 1,198 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
88c0b9f2bb8bf67d41093d51b31ac3b4
sha1
43f77ee3c335955d49d563f91f2242a38ec6f8d1
sha256
378938c4fc0b0be69c0d577517cd1ec8f67ae38db57af63fc7dcdd1b89084989
<?php
/**
 * @package     Joomla.API
 * @subpackage  com_banners
 *
 * @copyright   (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Banners\Api\View\Clients;

\defined('_JEXEC') or die;

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

/**
 * The clients 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 = [
		'typeAlias',
		'id',
		'checked_out_time',
		'name',
		'contact',
		'email',
		'checked_out',
		'checked_out_time',
		'extrainfo',
		'state',
		'metakey',
		'own_prefix',
		'metakey_prefix',
		'purchase_type',
		'track_clicks',
		'track_impressions',
	];

	/**
	 * The fields to render items in the documents
	 *
	 * @var  array
	 * @since  4.0.0
	 */
	protected $fieldsToRenderList = [
		'id',
		'name',
		'contact',
		'checked_out',
		'checked_out_time',
		'state',
		'metakey',
		'purchase_type',
		'nbanners',
		'editor',
		'count_published',
		'count_unpublished',
		'count_trashed',
		'count_archived',
	];
}

The same content is in 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.