Files
MokoSuiteBackup/source/packages/com_mokobackup/api/src/View/Backups/JsonapiView.php
T

54 lines
982 B
PHP
Raw Normal View History

<?php
/**
* @package MokoJoomBackup
* @subpackage com_mokobackup
* @author Moko Consulting <hello@mokoconsulting.tech>
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
* @license GNU General Public License version 3 or later; see LICENSE
*/
namespace Joomla\Component\MokoBackup\Api\View\Backups;
defined('_JEXEC') or die;
use Joomla\CMS\MVC\View\JsonApiView as BaseApiView;
class JsonapiView extends BaseApiView
{
protected $fieldsToRenderItem = [
'id',
'profile_id',
'description',
'status',
'origin',
'backup_type',
'archivename',
'absolute_path',
'total_size',
'db_size',
'files_count',
'tables_count',
'multipart',
'tag',
'backupstart',
'backupend',
'filesexist',
'remote_filename',
];
protected $fieldsToRenderList = [
'id',
'profile_id',
'description',
'status',
'origin',
'backup_type',
'archivename',
'total_size',
'backupstart',
'backupend',
'filesexist',
];
}