- md5
- 17c83348e11c728fa1a474097c03f3ec
- sha1
- b4314f5f1abdbd00d1ba57de0d13d88c2be1006d
- sha256
- 2a828188f76d456f557922fed05f4a7a1cdf90dac8b4d4b6b1617ca1755e0cbb
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
<?php
/**
* @package Joomla.API
* @subpackage com_newsfeeds
*
* @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\Newsfeeds\Api\View\Feeds;
\defined('_JEXEC') or die;
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
/**
* The feeds 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',
'catid',
'name',
'alias',
'link',
'published',
'numarticles',
'cache_time',
'checked_out',
'checked_out_time',
'ordering',
'rtl',
'access',
'language',
'params',
'created',
'created_by',
'created_by_alias',
'modified',
'modified_by',
'metakey',
'metadesc',
'metadata',
'publish_up',
'publish_down',
'description',
'version',
'hits',
'images',
'tags',
];
/**
* 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',
'numarticles',
'cache_time',
'created_by',
'published',
'access',
'ordering',
'language',
'publish_up',
'publish_down',
'language_title',
'language_image',
'editor',
'access_level',
'category_title',
];
}
The same content is in 2 releases, Joomla 4.0.0-beta6 to 4.0.0-beta7. See them all, or every version of this file.