primo commit

This commit is contained in:
2024-12-17 17:34:10 +01:00
commit e650f8df99
16435 changed files with 2451012 additions and 0 deletions

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class ControllerNotFound extends RuntimeException
{
public function __construct($controller, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_CONTROLLER_ERR_NOT_FOUND', $controller);
parent::__construct($message, $code, $previous);
}
}

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class DispatcherNotFound extends RuntimeException
{
public function __construct($dispatcherClass, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_DISPATCHER_ERR_NOT_FOUND', $dispatcherClass);
parent::__construct($message, $code, $previous);
}
}

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class ModelNotFound extends RuntimeException
{
public function __construct($modelClass, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_MODEL_ERR_NOT_FOUND', $modelClass);
parent::__construct($message, $code, $previous);
}
}

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class ToolbarNotFound extends RuntimeException
{
public function __construct($toolbarClass, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_TOOLBAR_ERR_NOT_FOUND', $toolbarClass);
parent::__construct($message, $code, $previous);
}
}

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class TransparentAuthenticationNotFound extends RuntimeException
{
public function __construct($taClass, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_TRANSPARENTAUTH_ERR_NOT_FOUND', $taClass);
parent::__construct($message, $code, $previous);
}
}

View File

@ -0,0 +1,25 @@
<?php
/**
* @package FOF
* @copyright Copyright (c)2010-2021 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 2, or later
*/
namespace FOF30\Factory\Exception;
defined('_JEXEC') || die;
use Exception;
use Joomla\CMS\Language\Text;
use RuntimeException;
class ViewNotFound extends RuntimeException
{
public function __construct($viewClass, $code = 500, Exception $previous = null)
{
$message = Text::sprintf('LIB_FOF_VIEW_ERR_NOT_FOUND', $viewClass);
parent::__construct($message, $code, $previous);
}
}