View file upload/src/addons/XenCentral/Feedback/Admin/View/Rebuild.php

File size: 777B
<?php
/**
 * @package XenCentral Feedback System
 * @author DNF Technology
 * @copyright Drnoyan & Nalyan LDA, Portugal, EU
 * @license http://dnf.technology/terms/
 * @link http://customers.dnf.technology
 * @version 2.0.0 Beta 10
 * @revision 12
 */

namespace XenCentral\Feedback\Admin\View;

use XF\Mvc\View;

class Rebuild extends View
{
	public function renderJson()
	{
		$output = $this->_renderer->getDefaultOutputArray(get_class($this), $this->_params, $this->_templateName);
		$output['elements'] = $this->_params['elements'];
		$output['rebuildMessage'] = $this->_params['rebuildMessage'];
		$output['detailedMessage'] = $this->_params['detailedMessage'];
		$output['showExitLink'] = $this->_params['showExitLink'];

		return $output;
	}
}