_JEXEC & copyright

This commit is contained in:
Artem Vasilev 2024-03-09 16:49:42 +03:00
parent 11c35ba5b2
commit f04c779176
3 changed files with 36 additions and 8 deletions

View File

@ -1,4 +1,11 @@
<?php <?php
/**
* @package Joomla.Administrator
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; namespace Webmasterskaya\Component\OauthServer\Administrator\Controller;
@ -8,6 +15,8 @@ use Joomla\CMS\MVC\Controller\FormController;
use Joomla\CMS\MVC\Factory\MVCFactoryInterface; use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
use Joomla\Input\Input; use Joomla\Input\Input;
\defined('_JEXEC') or die;
class ClientController extends FormController class ClientController extends FormController
{ {
/** /**
@ -25,6 +34,7 @@ class ClientController extends FormController
* @param \Joomla\CMS\Application\CMSApplication|null $app * @param \Joomla\CMS\Application\CMSApplication|null $app
* @param \Joomla\Input\Input|null $input * @param \Joomla\Input\Input|null $input
* @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory * @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory
*
* @throws \Exception * @throws \Exception
* @since version * @since version
*/ */

View File

@ -1,10 +1,19 @@
<?php <?php
/**
* @package Joomla.Administrator
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; namespace Webmasterskaya\Component\OauthServer\Administrator\Controller;
use Joomla\CMS\MVC\Controller\AdminController; use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\CMS\MVC\Model\BaseDatabaseModel; use Joomla\CMS\MVC\Model\BaseDatabaseModel;
\defined('_JEXEC') or die;
class ClientsController extends AdminController class ClientsController extends AdminController
{ {
/** /**

View File

@ -1,9 +1,18 @@
<?php <?php
/**
* @package Joomla.Administrator
* @subpackage com_oauthserver
*
* @copyright (c) 2024. Webmasterskaya. <https://webmasterskaya.xyz>
* @license MIT; see LICENSE.txt
**/
namespace Webmasterskaya\Component\OauthServer\Administrator\Controller; namespace Webmasterskaya\Component\OauthServer\Administrator\Controller;
use Joomla\CMS\MVC\Controller\BaseController; use Joomla\CMS\MVC\Controller\BaseController;
\defined('_JEXEC') or die;
class DisplayController extends BaseController class DisplayController extends BaseController
{ {
/** /**