mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-27 14:28:30 +00:00
Support version history
This commit is contained in:
parent
56c770f088
commit
703477306a
@ -14,7 +14,7 @@ defined('_JEXEC') or die;
|
||||
*
|
||||
* @since 1.6
|
||||
*/
|
||||
class WeblinksHelper extends \Joomla\Component\Weblinks\Administrator\Controller\WeblinksHelper
|
||||
class WeblinksHelper extends \Joomla\Component\Weblinks\Administrator\Helper\WeblinksHelper
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\MVC\Controller\FormController;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Versioning\VersionableControllerTrait;
|
||||
use Joomla\Utilities\ArrayHelper;
|
||||
|
||||
/**
|
||||
@ -22,6 +23,8 @@ use Joomla\Utilities\ArrayHelper;
|
||||
*/
|
||||
class WeblinkController extends FormController
|
||||
{
|
||||
use VersionableControllerTrait;
|
||||
|
||||
/**
|
||||
* Method override to check if you can add a new record.
|
||||
*
|
||||
|
@ -16,6 +16,7 @@ use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Language\LanguageHelper;
|
||||
use Joomla\CMS\MVC\Model\AdminModel;
|
||||
use Joomla\CMS\Versioning\VersionableModelTrait;
|
||||
use Joomla\Component\Categories\Administrator\Helper\CategoriesHelper;
|
||||
use Joomla\Registry\Registry;
|
||||
use Joomla\String\StringHelper;
|
||||
@ -27,6 +28,8 @@ use Joomla\String\StringHelper;
|
||||
*/
|
||||
class WeblinkModel extends AdminModel
|
||||
{
|
||||
use VersionableModelTrait;
|
||||
|
||||
/**
|
||||
* The type alias for this content type.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user