Release of v5.1.2-alpha3
Migrates view HTML classes to use getModel() directly instead of the deprecated magic get() calls to model methods. Refactores event handling (contentPrepare, titlePrepare, contentBeforeDisplay, contentAfterDisplay) to use Joomla 5’s native event dispatcher via the model’s new getDispatcher() method. Updates table classes to properly support NULL values, both in the store() method and in table variable definitions. #1245. Extractes the setAutoCheckIn() and setCheckInCall() logic into a dedicated CheckInNow class for cleaner design. Replace all direct $app->input property calls with the recommended $app->getInput() method across the entire codebase.
This commit is contained in:
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -27,12 +27,12 @@ use Joomla\CMS\Session\Session;
|
||||
// No direct access to this file
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$this->app->input->set('hidemainmenu', false);
|
||||
$this->app->getInput()->set('hidemainmenu', false);
|
||||
$selectNotice = '<h3>' . Text::_('COM_COMPONENTBUILDER_HI') . ' ' . $this->user->name . '</h3>';
|
||||
$selectNotice .= '<p>' . Text::_('COM_COMPONENTBUILDER_PLEASE_SELECT_A_COMPONENT_THAT_YOU_WOULD_LIKE_TO_COMPILE') . '</p>';
|
||||
|
||||
// set the noticeboard options
|
||||
$noticeboardOptions = array('vdm', 'pro');
|
||||
$noticeboardOptions = ['vdm', 'pro'];
|
||||
|
||||
?>
|
||||
<?php if ($this->canDo->get('compiler.access')): ?>
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -25,12 +25,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -28,7 +28,7 @@ use Joomla\CMS\Session\Session;
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
// allow main menu selection
|
||||
$this->app->input->set('hidemainmenu', false);
|
||||
$this->app->getInput()->set('hidemainmenu', false);
|
||||
|
||||
// set the basu URL
|
||||
$url_base = Uri::base() . 'index.php?option=com_componentbuilder';
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
@@ -24,12 +24,14 @@ defined('_JEXEC') or die;
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
if ($app->isClient('site')) {
|
||||
if ($app->isClient('site'))
|
||||
{
|
||||
Session::checkToken('get') or die(Text::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
// dynamic selection of title key (link in modal)
|
||||
$this->modalTitleKey = $app->input->get('titleKey', 'id', 'word');
|
||||
$input = method_exists($app, 'getInput') ? $app->getInput() : $app->input;
|
||||
$this->modalTitleKey = $input->get('titleKey', 'id', 'word');
|
||||
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
|
Reference in New Issue
Block a user