[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.API 5 * @subpackage com_banners 6 * 7 * @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 namespace Joomla\Component\Banners\Api\View\Banners; 12 13 use Joomla\CMS\MVC\View\JsonApiView as BaseApiView; 14 15 // phpcs:disable PSR1.Files.SideEffects 16 \defined('_JEXEC') or die; 17 // phpcs:enable PSR1.Files.SideEffects 18 19 /** 20 * The banners view 21 * 22 * @since 4.0.0 23 */ 24 class JsonapiView extends BaseApiView 25 { 26 /** 27 * The fields to render item in the documents 28 * 29 * @var array 30 * @since 4.0.0 31 */ 32 protected $fieldsToRenderItem = [ 33 'typeAlias', 34 'id', 35 'cid', 36 'type', 37 'name', 38 'alias', 39 'imptotal', 40 'impmade', 41 'clicks', 42 'clickurl', 43 'state', 44 'catid', 45 'description', 46 'custombannercode', 47 'sticky', 48 'ordering', 49 'metakey', 50 'params', 51 'own_prefix', 52 'metakey_prefix', 53 'purchase_type', 54 'track_clicks', 55 'track_impressions', 56 'checked_out', 57 'checked_out_time', 58 'publish_up', 59 'publish_down', 60 'reset', 61 'created', 62 'language', 63 'created_by', 64 'created_by_alias', 65 'modified', 66 'modified_by', 67 'version', 68 'contenthistoryHelper', 69 ]; 70 71 /** 72 * The fields to render items in the documents 73 * 74 * @var array 75 * @since 4.0.0 76 */ 77 protected $fieldsToRenderList = [ 78 'id', 79 'name', 80 'alias', 81 'checked_out', 82 'checked_out_time', 83 'catid', 84 'clicks', 85 'metakey', 86 'sticky', 87 'impmade', 88 'imptotal', 89 'state', 90 'ordering', 91 'purchase_type', 92 'language', 93 'publish_up', 94 'publish_down', 95 'language_image', 96 'editor', 97 'category_title', 98 'client_name', 99 'client_purchase_type', 100 ]; 101 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |