__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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

/**
 * @package     Joomla.Administrator
 * @subpackage  com_plugins
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Plugins\Administrator\Field;

use Joomla\CMS\Form\Field\OrderingField;

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

/**
 * Supports an HTML select list of plugins.
 *
 * @since  1.6
 */
class PluginorderingField extends OrderingField
{
    /**
     * The form field type.
     *
     * @var     string
     * @since   1.6
     */
    protected $type = 'Pluginordering';

    /**
     * Builds the query for the ordering list.
     *
     * @return  \Joomla\Database\DatabaseQuery  The query for the ordering form field.
     */
    protected function getQuery()
    {
        $db     = $this->getDatabase();
        $folder = $this->form->getValue('folder');

        // Build the query for the ordering list.
        $query = $db->getQuery(true)
            ->select(
                [
                    $db->quoteName('ordering', 'value'),
                    $db->quoteName('name', 'text'),
                    $db->quoteName('type'),
                    $db->quote('folder'),
                    $db->quote('extension_id'),
                ]
            )
            ->from($db->quoteName('#__extensions'))
            ->where($db->quoteName('type') . ' = ' . $db->quote('plugin'))
            ->where($db->quoteName('folder') . ' = :folder')
            ->order($db->quoteName('ordering'))
            ->bind(':folder', $folder);

        return $query;
    }

    /**
     * Retrieves the current Item's Id.
     *
     * @return  integer  The current item ID.
     */
    protected function getItemId()
    {
        return (int) $this->form->getValue('extension_id');
    }
}

Filemanager

Name Type Size Permission Actions
PluginElementField.php File 1.01 KB 0664
PluginTypeField.php File 1023 B 0664
PluginorderingField.php File 1.87 KB 0664
Filemanager