32
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2025-01-26 22:08:27 +00:00

Support version history

This commit is contained in:
Tuan Pham Ngoc 2021-06-20 16:53:42 +07:00
parent 56c770f088
commit 703477306a
3 changed files with 7 additions and 1 deletions

View File

@ -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
{
}

View File

@ -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.
*

View File

@ -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.
*