- md5
- 74feb1c0e33f40e9097dac07ab85abf7
- sha1
- 6eaedde879cd62cb15e1f25e86ce87ab76a4dc57
- sha256
- 7f55b403c504bad9982bb3082bcc988d318024d0b003773d3559ee918676bd15
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
<?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;
\defined('_JEXEC') or die;
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
/**
* 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 51 releases, Joomla 4.0.0-beta6 to 4.2.0-beta2. See them all, or every version of this file.