- md5
- 8175f0d3ca18cfe8fc1700f30f191b0d
- sha1
- 27d39033777d18193651929b4d74c916adebf035
- sha256
- e506bebb80f3e70668784286ca3ebb6b37c02e948138a0bfcbe0fac1d056152f
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
<?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\Banners;
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* The banners 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',
'cid',
'type',
'name',
'alias',
'imptotal',
'impmade',
'clicks',
'clickurl',
'state',
'catid',
'description',
'custombannercode',
'sticky',
'ordering',
'metakey',
'params',
'own_prefix',
'metakey_prefix',
'purchase_type',
'track_clicks',
'track_impressions',
'checked_out',
'checked_out_time',
'publish_up',
'publish_down',
'reset',
'created',
'language',
'created_by',
'created_by_alias',
'modified',
'modified_by',
'version',
'contenthistoryHelper',
];
/**
* The fields to render items in the documents
*
* @var array
* @since 4.0.0
*/
protected $fieldsToRenderList = [
'id',
'name',
'alias',
'checked_out',
'checked_out_time',
'catid',
'clicks',
'metakey',
'sticky',
'impmade',
'imptotal',
'state',
'ordering',
'purchase_type',
'language',
'publish_up',
'publish_down',
'language_image',
'editor',
'category_title',
'client_name',
'client_purchase_type',
];
}
The same content is in 225 releases, Joomla 4.2.1 to 6.2.1-rc1. See them all, or every version of this file.