mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-27 17:15:52 +03:00
_JEXEC & copyright
This commit is contained in:
parent
11c35ba5b2
commit
f04c779176
@ -1,4 +1,11 @@
|
||||
<?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;
|
||||
|
||||
@ -8,6 +15,8 @@ use Joomla\CMS\MVC\Controller\FormController;
|
||||
use Joomla\CMS\MVC\Factory\MVCFactoryInterface;
|
||||
use Joomla\Input\Input;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
class ClientController extends FormController
|
||||
{
|
||||
/**
|
||||
@ -20,11 +29,12 @@ class ClientController extends FormController
|
||||
protected $text_prefix = 'COM_OAUTHSERVER_CLIENT';
|
||||
|
||||
/**
|
||||
* @param array $config
|
||||
* @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory
|
||||
* @param \Joomla\CMS\Application\CMSApplication|null $app
|
||||
* @param \Joomla\Input\Input|null $input
|
||||
* @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory
|
||||
* @param array $config
|
||||
* @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory
|
||||
* @param \Joomla\CMS\Application\CMSApplication|null $app
|
||||
* @param \Joomla\Input\Input|null $input
|
||||
* @param \Joomla\CMS\Form\FormFactoryInterface|null $formFactory
|
||||
*
|
||||
* @throws \Exception
|
||||
* @since version
|
||||
*/
|
||||
@ -35,4 +45,4 @@ class ClientController extends FormController
|
||||
$this->registerTask('save2reset', 'save');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,19 @@
|
||||
<?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;
|
||||
|
||||
use Joomla\CMS\MVC\Controller\AdminController;
|
||||
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
class ClientsController extends AdminController
|
||||
{
|
||||
/**
|
||||
@ -31,4 +40,4 @@ class ClientsController extends AdminController
|
||||
return parent::getModel($name, $prefix, $config);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,18 @@
|
||||
<?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;
|
||||
|
||||
use Joomla\CMS\MVC\Controller\BaseController;
|
||||
|
||||
\defined('_JEXEC') or die;
|
||||
|
||||
class DisplayController extends BaseController
|
||||
{
|
||||
/**
|
||||
@ -14,4 +23,4 @@ class DisplayController extends BaseController
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $default_view = 'clients';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user