__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Document;

use Joomla\CMS\Factory as CmsFactory;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * JsonDocument class, provides an easy interface to parse and display JSON output
 *
 * @link   http://www.json.org/
 * @since  1.7.0
 */
class JsonDocument extends Document
{
    /**
     * Document name
     *
     * @var    string
     * @since  1.7.0
     */
    protected $_name = 'joomla';

    /**
     * Class constructor
     *
     * @param   array  $options  Associative array of options
     *
     * @since  1.7.0
     */
    public function __construct($options = [])
    {
        parent::__construct($options);

        // Set mime type
        $this->_mime = 'application/json';

        // Set document type
        $this->_type = 'json';
    }

    /**
     * Render the document.
     *
     * @param   boolean  $cache   If true, cache the output
     * @param   array    $params  Associative array of attributes
     *
     * @return  string  The rendered data
     *
     * @since  1.7.0
     */
    public function render($cache = false, $params = [])
    {
        /** @var \Joomla\CMS\Application\CMSApplication $app */
        $app = CmsFactory::getApplication();

        $app->allowCache($cache);

        parent::render($cache, $params);

        return $this->getBuffer();
    }

    /**
     * Returns the document name
     *
     * @return  string
     *
     * @since  1.7.0
     */
    public function getName()
    {
        return $this->_name;
    }

    /**
     * Sets the document name
     *
     * @param   string  $name  Document name
     *
     * @return  JsonDocument instance of $this to allow chaining
     *
     * @since   1.7.0
     */
    public function setName($name = 'joomla')
    {
        $this->_name = $name;

        return $this;
    }
}

Filemanager

Name Type Size Permission Actions
Feed Folder 0775
Opensearch Folder 0775
Renderer Folder 0775
Document.php File 29.07 KB 0664
DocumentAwareInterface.php File 709 B 0664
DocumentAwareTrait.php File 1.22 KB 0664
DocumentRenderer.php File 1.68 KB 0664
ErrorDocument.php File 3.73 KB 0664
Factory.php File 3.28 KB 0664
FactoryInterface.php File 1.29 KB 0664
FeedDocument.php File 4.95 KB 0664
HtmlDocument.php File 26.27 KB 0664
ImageDocument.php File 1.73 KB 0664
JsonDocument.php File 2.04 KB 0664
JsonapiDocument.php File 4.02 KB 0664
OpensearchDocument.php File 6.11 KB 0664
PreloadManager.php File 4.51 KB 0664
PreloadManagerInterface.php File 2.83 KB 0664
RawDocument.php File 1.23 KB 0664
RendererInterface.php File 869 B 0664
XmlDocument.php File 2.89 KB 0664
Filemanager