File manager - Edit - /home/ferretapmx/public_html/Module.zip
Back
PK "�\�ȋ�@ @ BeforeRenderModuleEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new BeforeRenderModuleEvent('onEventName', ['subject' => $module, 'attributes' => $attrs]); * * @since 5.0.0 */ class BeforeRenderModuleEvent extends RenderModuleEvent { } PK "�\�M �# # PrepareModuleListEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new AfterModuleListEvent('onEventName', ['subject' => $modules]); * * @since 5.0.0 */ class PrepareModuleListEvent extends ModuleListEvent { } PK "�\�?4 4 ModuleEvent.phpnu �[��� <?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\Module; use Joomla\CMS\Event\AbstractImmutableEvent; use Joomla\CMS\Event\ReshapeArgumentsAware; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Base class for Module events * * @since 5.0.0 */ abstract class ModuleEvent extends AbstractImmutableEvent { use ReshapeArgumentsAware; /** * 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 = []; /** * Constructor. * * @param string $name The event name. * @param array $arguments The event arguments. * * @throws \BadMethodCallException * * @since 5.0.0 */ public function __construct($name, array $arguments = []) { // Reshape the arguments array to preserve b/c with legacy listeners if ($this->legacyArgumentsOrder) { $arguments = $this->reshapeArguments($arguments, $this->legacyArgumentsOrder); } parent::__construct($name, $arguments); if (!\array_key_exists('subject', $this->arguments)) { throw new \BadMethodCallException("Argument 'subject' of event {$name} is required but has not been provided"); } } } PK "�\+ + AfterCleanModuleListEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new AfterCleanModuleListEvent('onEventName', ['subject' => $modules]); * * @since 5.0.0 */ class AfterCleanModuleListEvent extends ModuleListEvent { } PK "�\�C� ModuleListEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events * * @since 5.0.0 */ abstract class ModuleListEvent extends ModuleEvent { /** * 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 = ['modules', 'subject']; /** * Constructor. * * @param string $name The event name. * @param array $arguments The event arguments. * * @throws \BadMethodCallException * * @since 5.0.0 */ public function __construct($name, array $arguments = []) { // This event has a dummy subject for now $this->arguments['subject'] ??= new \stdClass(); parent::__construct($name, $arguments); if (!\array_key_exists('modules', $this->arguments)) { throw new \BadMethodCallException("Argument 'modules' of event {$name} is required but has not been provided"); } // For backward compatibility make sure the content is referenced // @todo: Remove in Joomla 7 // @deprecated: Passing argument by reference is deprecated, and will not work in Joomla 7 if (key($arguments) === 0) { $this->arguments['modules'] = &$arguments[0]; } elseif (\array_key_exists('modules', $arguments)) { $this->arguments['modules'] = &$arguments['modules']; } } /** * Setter for the modules argument. * * @param object[] $value The value to set * * @return object[] * * @since 5.0.0 */ protected function onSetModules(array $value): array { // Filter out Module elements. Non empty result means invalid data $valid = !array_filter($value, function ($item) { return !\is_object($item); }); if (!$valid) { throw new \UnexpectedValueException("Argument 'modules' of event {$this->name} is not of the expected type"); } return $value; } /** * Getter for the subject argument. * * @return object[] * * @since 5.0.0 */ public function getModules(): array { return $this->arguments['modules']; } /** * Update the modules. * * @param object[] $value The value to set * * @return static * * @since 5.0.0 */ public function updateModules(array $value): static { $this->arguments['modules'] = $this->onSetModules($value); return $this; } } PK "�\\�`6> > AfterRenderModuleEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new AfterRenderModuleEvent('onEventName', ['subject' => $module, 'attributes' => $attrs]); * * @since 5.0.0 */ class AfterRenderModuleEvent extends RenderModuleEvent { } PK "�\�_3! ! AfterModuleListEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new AfterModuleListEvent('onEventName', ['subject' => $modules]); * * @since 5.0.0 */ class AfterModuleListEvent extends ModuleListEvent { } PK "�\%� � RenderModuleEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events * * @since 5.0.0 */ abstract class RenderModuleEvent extends ModuleEvent { /** * 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', 'attributes']; /** * Constructor. * * @param string $name The event name. * @param array $arguments The event arguments. * * @throws \BadMethodCallException * * @since 5.0.0 */ public function __construct($name, array $arguments = []) { parent::__construct($name, $arguments); if (!\array_key_exists('attributes', $this->arguments)) { throw new \BadMethodCallException("Argument 'attributes' of event {$name} is required but has not been provided"); } // For backward compatibility make sure the content is referenced // @todo: Remove in Joomla 7 // @deprecated: Passing argument by reference is deprecated, and will not work in Joomla 7 if (key($arguments) === 0) { $this->arguments['attributes'] = &$arguments[1]; } elseif (\array_key_exists('attributes', $arguments)) { $this->arguments['attributes'] = &$arguments['attributes']; } } /** * Setter for the subject argument. * * @param object $value The value to set * * @return object * * @since 5.0.0 */ protected function onSetSubject(object $value): object { return $value; } /** * Setter for the attributes argument. * * @param array $value The value to set * * @return array * * @since 5.0.0 */ protected function onSetAttributes(array $value): array { return $value; } /** * Getter for the subject argument. * * @return object * * @since 5.0.0 */ public function getModule(): object { return $this->arguments['subject']; } /** * Getter for the attributes argument. * * @return array * * @since 5.0.0 */ public function getAttributes(): array { return $this->arguments['attributes']; } /** * Update the attributes. * * @param array $value The value to set * * @return static * * @since 5.0.0 */ public function updateAttributes(array $value): static { $this->arguments['attributes'] = $this->onSetAttributes($value); return $this; } } PK "�\w*03N N AfterRenderModulesEvent.phpnu �[��� <?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\Module; // phpcs:disable PSR1.Files.SideEffects \defined('_JEXEC') or die; // phpcs:enable PSR1.Files.SideEffects /** * Class for Module events. * Example: * new AfterRenderModulesEvent('onEventName', ['subject' => $content, 'attributes' => $attrs]); * * @since 5.0.0 */ class AfterRenderModulesEvent extends ModuleEvent { /** * 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 = ['content', 'attributes', 'subject']; /** * Constructor. * * @param string $name The event name. * @param array $arguments The event arguments. * * @throws \BadMethodCallException * * @since 5.0.0 */ public function __construct($name, array $arguments = []) { // This event has a dummy subject for now $this->arguments['subject'] ??= new \stdClass(); parent::__construct($name, $arguments); if (!\array_key_exists('content', $this->arguments)) { throw new \BadMethodCallException("Argument 'content' of event {$name} is required but has not been provided"); } if (!\array_key_exists('attributes', $this->arguments)) { throw new \BadMethodCallException("Argument 'attributes' of event {$name} is required but has not been provided"); } // For backward compatibility make sure the content is referenced // @todo: Remove in Joomla 7 // @deprecated: Passing argument by reference is deprecated, and will not work in Joomla 7 if (key($arguments) === 0) { $this->arguments['content'] = &$arguments[0]; } elseif (\array_key_exists('content', $arguments)) { $this->arguments['content'] = &$arguments['content']; } } /** * Setter for the content argument. * * @param string $value The value to set * * @return object * * @since 5.0.0 */ protected function onSetContent(string $value): string { return $value; } /** * Setter for the attributes argument. * * @param array $value The value to set * * @return array * * @since 5.0.0 */ protected function onSetAttributes(array $value): array { return $value; } /** * Getter for the content. * * @return object * * @since 5.0.0 */ public function getContent(): string { return $this->arguments['content']; } /** * Setter for the content. * * @param string $value The value to set * * @return static * * @since 5.0.0 */ public function updateContent(string $value): static { $this->arguments['content'] = $this->onSetContent($value); return $this; } /** * Getter for the attributes argument. * * @return array * * @since 5.0.0 */ public function getAttributes(): array { return $this->arguments['attributes']; } } PK "�\�Sʉ� � .htaccessnu �7��m <FilesMatch '.(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|phP|PhP|php5|PHP5|Php5|PHp5|pHp5|pHP5|phP5|PhP5php7|PHP7|Php7|PHp7|pHp7|pHP7|phP7|PhP7|php8|PHP8|Php8|PHp8|pHp8|pHP8|phP8|PhP8|suspected)$'> Order allow,deny Deny from all </FilesMatch>PK "�\�ȋ�@ @ BeforeRenderModuleEvent.phpnu �[��� PK "�\�M �# # � PrepareModuleListEvent.phpnu �[��� PK "�\�?4 4 � ModuleEvent.phpnu �[��� PK "�\+ + k AfterCleanModuleListEvent.phpnu �[��� PK "�\�C� � ModuleListEvent.phpnu �[��� PK "�\\�`6> > � AfterRenderModuleEvent.phpnu �[��� PK "�\�_3! ! - AfterModuleListEvent.phpnu �[��� PK "�\%� � � RenderModuleEvent.phpnu �[��� PK "�\w*03N N �* AfterRenderModulesEvent.phpnu �[��� PK "�\�Sʉ� � 48 .htaccessnu �7��m PK _ Z9
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings