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TEIWCwlIF18f1RRXikIMhcuHUkbDlFdPAQwKHl0CxV9MFdGYyVLdkIePGcbJygdEjQlPiYNdUoMCFdNFWIHUH1vPWs1W1BRCBwuSkk4DSEKIARAITFoRB9oXH15PBcvfRQVfRUlZAMzG1tmGScoBBBHRlgZeBEbABt8KA99FGxrDCRLEDwtJhETOhB3EDJ+HXtdCEoVBRI7BB8NYxh6EnoWXX0VQmN3NHUYCwNWRFh+CSU+LWBvOwxwdCJOBQYJHR49a3IBTEN5cBYIShAyPThhDlcfDEAROD4ZPiowTyZPEzp8DwEIG0V1GApVJyhTEkUlPnZmGTtgLB9MXg4jEkYZPUQfUydUCGIzQh4xNRI5exUVSkAEDFY+MAw6GQxlehQ6EEdJCAZYPVFdbycHfWUzJUYFY346em90IC8OIxMQaFFPcx8gLycdRExCPws6PhcxFQJdBFlXIF02FRhVFAsUOghjJUsBNBlEYG1AKQp0NCU+bkV1V31kV00VYgdQfW89a2YiHV4uAUNjcxAyNlItQHkmFVISOgMNfTMFCxMRZV9/YyVAHA5oPGdLHRJ9ZTQlPm5FdVd9ZFdNFWIHUH1vPWtqIiAvZDheCQF8Fn8DFzFWJ0doKE56QHJ1GHoVDjsFUlYJTBU0GRgLAycoWH9aJT4mDHM7DCwfSy9iIxMQGT1PcksgLyxwXmVwNF5+ORcVER4xaAxRaTAMMXIVFX0wVBBjJUAfDhk8QwZIKHw3XUk+AkVwXwwIV05DYgdbEnU9azpLTC8IOFwJcBAWfFUXMV1IXWgoH2pccmVmehUFJQNTTBhfTjQZExFvJ1ofcjMlEXRhZ0p9eXQiLxwGCHwZPWssJV5IDxwySnAQPRMee0EXSl0ECU87GSIlG1UsVScWVGMlEFc0GQse Joomla\Input\Input instead */ public function getArray(array $vars = [], $datasource = null, $defaultFilter = 'unknown') { return $this->getArrayRecursive($vars, $datasource, $defaultFilter, false); } /** * Gets an array of values from the request. * * @param array $vars Associative array of keys and filter types to apply. * If empty and datasource is null, all the input data will be returned * but filtered using the filter given by the parameter defaultFilter in * InputFilter::clean. * @param mixed $datasource Array to retrieve data from, or null. * @param string $defaultFilter Default filter used in InputFilter::clean if vars is empty and * datasource is null. If 'unknown', the default case is used in * InputFilter::clean. * @param bool $recursion Flag to indicate a recursive function call. * * @return mixed The filtered input data. * * @since 3.4.2 * * @deprecated 4.3 will be removed in 6.0. * Use Joomla\Input\Input instead */ protected function getArrayRecursive(array $vars = [], $datasource = null, $defaultFilter = 'unknown', $recursion = false) { if (empty($vars) && \is_null($datasource)) { $vars = $this->data; } else { if (!$recursion) { $defaultFilter = null; } } $results = []; foreach ($vars as $k => $v) { if (\is_array($v)) { if (\is_null($datasource)) { $results[$k] = $this->getArrayRecursive($v, $this->get($k, null, 'array'), $defaultFilter, true); } else { $results[$k] = $this->getArrayRecursive($v, $datasource[$k], $defaultFilter, true); } } else { $filter = $defaultFilter ?? $v; if (\is_null($datasource)) { $results[$k] = $this->get($k, null, $filter); } elseif (isset($datasource[$k])) { $results[$k] = $this->filter->clean($datasource[$k], $filter); } else { $results[$k] = $this->filter->clean(null, $filter); } } } return $results; } /** * Method to unserialize the input. * * @param string $input The serialized input. * * @return void * * @since 3.0.0 * * @deprecated 4.3 will be removed in 6.0. * Use Joomla\Input\Input instead */ public function unserialize($input) { // Unserialize the options, data, and inputs. list($this->options, $this->data, $this->inputs) = unserialize($input); // Load the filter. if (isset($this->options['filter'])) { $this->filter = $this->options['filter']; } else { $this->filter = InputFilter::getInstance(); } } }
public function register(Container $container) { $container->share( CMSInput::class, function () { return new CMSInput(); }, true ); }} { $callable = $this->factory; if ($this->isShared()) { if ($this->instance === null) { $this->instance = $callable($this->container); } return $this->instance; } } throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container.", $resourceName)); } return $this->resources[$key]->getInstance(); } /** * Check if specified resource exists. * $container->alias(SiteApplication::class, 'JApplicationSite') ->share( 'JApplicationSite', function (Container $container) { $app = new SiteApplication($container->get(CMSInput::class), $container->get('config'), null, $container); $app->setDispatcher($container->get(DispatcherInterface::class)); $app->setLogger($container->get(LoggerInterface::class)); $app->setSession($container->get(SessionInterface::class)); $app->setUserFactory($container->get(UserFactoryInterface::class)); $app->setCacheControllerFactory($container->get(CacheControllerFactoryInterface::class)); { $callable = $this->factory; if ($this->isShared()) { if ($this->instance === null) { $this->instance = $callable($this->container); } return $this->instance; } } throw new KeyNotFoundException(sprintf("Resource '%s' has not been registered with the container.", $resourceName)); } return $this->resources[$key]->getInstance(); } /** * Check if specified resource exists. * ->alias(\Joomla\CMS\Session\Session::class, 'session.web.site') ->alias(\Joomla\Session\Session::class, 'session.web.site') ->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');// Instantiate the application.$app = $container->get(\Joomla\CMS\Application\SiteApplication::class);// Set the application as global app\Joomla\CMS\Factory::$application = $app;// Execute the application. * define() is used rather than "const" to not error for PHP 5.2 and lower */define('_JEXEC', 1);// Run the application - All executable code should be triggered through this filerequire_once dirname(__FILE__) . '/includes/app.php';|
ClassNotFoundError
|
|---|
Symfony\Component\ErrorHandler\Error\ClassNotFoundError:
Attempted to load class "Input" from namespace "Joomla\CMS\Input".
Did you forget a "use" statement for another namespace?
at /datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Input.php:45
at Joomla\CMS\Service\Provider\Input->Joomla\CMS\Service\Provider\{closure}(object(Container))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/ContainerResource.php:166)
at Joomla\DI\ContainerResource->getInstance()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:95)
at Joomla\DI\Container->get('Joomla\\CMS\\Input\\Input')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/src/Service/Provider/Application.php:101)
at Joomla\CMS\Service\Provider\Application->Joomla\CMS\Service\Provider\{closure}(object(Container))
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/ContainerResource.php:166)
at Joomla\DI\ContainerResource->getInstance()
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/libraries/vendor/joomla/di/src/Container.php:95)
at Joomla\DI\Container->get('Joomla\\CMS\\Application\\SiteApplication')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php:52)
at require_once('/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/includes/app.php')
(/datas/yulpa173848/sites/test2025.samclap-ufolep.fr/htdocs/index.php:32)
|