mirror of
https://github.com/webmasterskaya/joomla-oauth-server.git
synced 2024-11-23 22:34:50 +03:00
_JEXEC & copyright
This commit is contained in:
parent
11c35ba5b2
commit
f04c779176
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -20,11 +29,12 @@ class ClientController extends FormController
|
|||||||
protected $text_prefix = 'COM_OAUTHSERVER_CLIENT';
|
protected $text_prefix = 'COM_OAUTHSERVER_CLIENT';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param array $config
|
* @param array $config
|
||||||
* @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory
|
* @param \Joomla\CMS\MVC\Factory\MVCFactoryInterface|null $factory
|
||||||
* @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
|
||||||
*/
|
*/
|
||||||
@ -35,4 +45,4 @@ class ClientController extends FormController
|
|||||||
$this->registerTask('save2reset', 'save');
|
$this->registerTask('save2reset', 'save');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -31,4 +40,4 @@ class ClientsController extends AdminController
|
|||||||
return parent::getModel($name, $prefix, $config);
|
return parent::getModel($name, $prefix, $config);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -14,4 +23,4 @@ class DisplayController extends BaseController
|
|||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $default_view = 'clients';
|
protected $default_view = 'clients';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user