Updated with JCB v3.1.0

This commit is contained in:
Llewellyn van der Merwe 2022-05-27 07:48:24 +02:00
parent bec2f89d29
commit 4695eff616
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
131 changed files with 469 additions and 378 deletions

View File

@ -1,4 +1,4 @@
# Questions and Answers (1.0.x) # Questions and Answers (1.1.x)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -12,15 +12,15 @@ Just a basic Questions & Answers.
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Questions and Answers](https://www.vdm.io/) + *Name*: [Questions and Answers](https://www.vdm.io/)
+ *First Build*: 30th January, 2017 + *First Build*: 30th January, 2017
+ *Last Build*: 2nd March, 2022 + *Last Build*: 27th May, 2022
+ *Version*: 1.0.x + *Version*: 1.1.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number # Component Number
+ *Line count*: **31397** + *Line count*: **31488**
+ *File count*: **207** + *File count*: **208**
+ *Folder count*: **63** + *Folder count*: **63**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -1,4 +1,4 @@
# Questions and Answers (1.0.x) # Questions and Answers (1.1.x)
This is a [Joomla 3.x](http://www.joomla.org/) component. This is a [Joomla 3.x](http://www.joomla.org/) component.
@ -12,15 +12,15 @@ Just a basic Questions & Answers.
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io) + *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
+ *Name*: [Questions and Answers](https://www.vdm.io/) + *Name*: [Questions and Answers](https://www.vdm.io/)
+ *First Build*: 30th January, 2017 + *First Build*: 30th January, 2017
+ *Last Build*: 2nd March, 2022 + *Last Build*: 27th May, 2022
+ *Version*: 1.0.x + *Version*: 1.1.x
+ *Copyright*: Copyright (C) 2015. All Rights Reserved + *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
# Component Number # Component Number
+ *Line count*: **31397** + *Line count*: **31488**
+ *File count*: **207** + *File count*: **208**
+ *Folder count*: **63** + *Folder count*: **63**
> This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder). > This **component** was build with a Joomla [Automated Component Builder](http://vdm.bz/component-builder).

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage admin.css @subpackage admin.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage dashboard.css @subpackage dashboard.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.css @subpackage help_document.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.css @subpackage help_documents.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.css @subpackage question_and_answer.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.css @subpackage questions_and_answers.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage admin.js @subpackage admin.js

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage controller.php @subpackage controller.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* General Controller of Questionsanswers component * General Controller of Questionsanswers component
*/ */
class QuestionsanswersController extends JControllerLegacy class QuestionsanswersController extends BaseController
{ {
/** /**
* Constructor. * Constructor.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.json.php @subpackage ajax.json.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Ajax Controller * Questionsanswers Ajax Base Controller
*/ */
class QuestionsanswersControllerAjax extends JControllerLegacy class QuestionsanswersControllerAjax extends BaseController
{ {
public function __construct($config) public function __construct($config)
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage download.php @subpackage download.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help.php @subpackage help.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Help Controller * Questionsanswers Help Base Controller
*/ */
class QuestionsanswersControllerHelp extends JControllerLegacy class QuestionsanswersControllerHelp extends BaseController
{ {
public function __construct($config) public function __construct($config)
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\FormController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Help_document Controller * Help_document Form Controller
*/ */
class QuestionsanswersControllerHelp_document extends JControllerForm class QuestionsanswersControllerHelp_document extends FormController
{ {
/** /**
* Current or most recently performed task. * Current or most recently performed task.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.php @subpackage help_documents.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Help_documents Controller * Help_documents Admin Controller
*/ */
class QuestionsanswersControllerHelp_documents extends JControllerAdmin class QuestionsanswersControllerHelp_documents extends AdminController
{ {
/** /**
* The prefix to use with controller messages. * The prefix to use with controller messages.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage import.php @subpackage import.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Import Controller * Questionsanswers Import Base Controller
*/ */
class QuestionsanswersControllerImport extends JControllerLegacy class QuestionsanswersControllerImport extends BaseController
{ {
/** /**
* Import an spreadsheet. * Import an spreadsheet.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\FormController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Question_and_answer Controller * Question_and_answer Form Controller
*/ */
class QuestionsanswersControllerQuestion_and_answer extends JControllerForm class QuestionsanswersControllerQuestion_and_answer extends FormController
{ {
/** /**
* Current or most recently performed task. * Current or most recently performed task.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.php @subpackage questions_and_answers.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questions_and_answers Controller * Questions_and_answers Admin Controller
*/ */
class QuestionsanswersControllerQuestions_and_answers extends JControllerAdmin class QuestionsanswersControllerQuestions_and_answers extends AdminController
{ {
/** /**
* The prefix to use with controller messages. * The prefix to use with controller messages.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\AdminController;
use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Controller * Questionsanswers Admin Controller
*/ */
class QuestionsanswersControllerQuestionsanswers extends JControllerAdmin class QuestionsanswersControllerQuestionsanswers extends AdminController
{ {
} }

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage headercheck.php @subpackage headercheck.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage batch_.php @subpackage batch_.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php
@ -878,12 +878,12 @@ abstract class QuestionsanswersHelper
} }
/** /**
* File Extension to Mimetype * File Extensions to Mimetypes
* https://gist.github.com/Llewellynvdm/74be373357e131b8775a7582c3de508b * https://gist.github.com/Llewellynvdm/74be373357e131b8775a7582c3de508b
* http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types * http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
* *
* @var array * @var array
**/ */
protected static $fileExtensionToMimeType = array( protected static $fileExtensionToMimeType = array(
'123' => 'application/vnd.lotus-1-2-3', '123' => 'application/vnd.lotus-1-2-3',
'3dml' => 'text/vnd.in3d.3dml', '3dml' => 'text/vnd.in3d.3dml',
@ -1428,6 +1428,7 @@ abstract class QuestionsanswersHelper
'opf' => 'application/oebps-package+xml', 'opf' => 'application/oebps-package+xml',
'opml' => 'text/x-opml', 'opml' => 'text/x-opml',
'oprc' => 'application/vnd.palm', 'oprc' => 'application/vnd.palm',
'opus' => 'audio/ogg',
'org' => 'application/vnd.lotus-organizer', 'org' => 'application/vnd.lotus-organizer',
'osf' => 'application/vnd.yamaha.openscoreformat', 'osf' => 'application/vnd.yamaha.openscoreformat',
'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml', 'osfpvg' => 'application/vnd.yamaha.openscoreformat.osfpvg+xml',
@ -1889,7 +1890,7 @@ abstract class QuestionsanswersHelper
*/ */
// get the extension form file // get the extension form file
$extension = \strtolower(\pathinfo($file, \PATHINFO_EXTENSION)); $extension = strtolower(pathinfo($file, PATHINFO_EXTENSION));
// check if we have the extension listed // check if we have the extension listed
if (isset(self::$fileExtensionToMimeType[$extension])) if (isset(self::$fileExtensionToMimeType[$extension]))
{ {
@ -3693,3 +3694,4 @@ abstract class QuestionsanswersHelper
return $default; return $default;
} }
} }

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage batchselection.php @subpackage batchselection.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_above.php @subpackage details_above.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_left.php @subpackage details_left.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_right.php @subpackage details_right.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_under.php @subpackage details_under.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publlshing.php @subpackage publlshing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_fullwidth.php @subpackage details_fullwidth.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_rightside.php @subpackage details_rightside.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage details_under.php @subpackage details_under.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage metadata.php @subpackage metadata.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage publishing.php @subpackage publishing.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage trashhelper.php @subpackage trashhelper.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.php @subpackage ajax.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Ajax Model * Questionsanswers Ajax List Model
*/ */
class QuestionsanswersModelAjax extends JModelList class QuestionsanswersModelAjax extends ListModel
{ {
protected $app_params; protected $app_params;
@ -45,8 +46,22 @@ class QuestionsanswersModelAjax extends JModelList
// Used in question_and_answer // Used in question_and_answer
/**
* The view persistence details
*
* @var array
* @since 1.0.0
*/
protected $viewid = array(); protected $viewid = array();
/**
* The view details loaded via the session
*
* @input string $call The state key
*
* @return mixed
* @since 1.0.0
*/
protected function getViewID($call = 'table') protected function getViewID($call = 'table')
{ {
if (!isset($this->viewid[$call])) if (!isset($this->viewid[$call]))

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage adminviewfolderlist.php @subpackage adminviewfolderlist.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage alloweddocumentformats.php @subpackage alloweddocumentformats.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage allowedimageformats.php @subpackage allowedimageformats.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage articles.php @subpackage articles.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage helpdocumentsfilterlocation.php @subpackage helpdocumentsfilterlocation.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage helpdocumentsfiltertype.php @subpackage helpdocumentsfiltertype.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage siteviewfolderlist.php @subpackage siteviewfolderlist.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php
@ -26,14 +26,15 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\AdminModel;
use Joomla\Registry\Registry; use Joomla\Registry\Registry;
use Joomla\String\StringHelper; use Joomla\String\StringHelper;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Help_document Model * Questionsanswers Help_document Admin Model
*/ */
class QuestionsanswersModelHelp_document extends JModelAdmin class QuestionsanswersModelHelp_document extends AdminModel
{ {
/** /**
* The tab layout fields array. * The tab layout fields array.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_documents.php @subpackage help_documents.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Help_documents Model * Help_documents List Model
*/ */
class QuestionsanswersModelHelp_documents extends JModelList class QuestionsanswersModelHelp_documents extends ListModel
{ {
public function __construct($config = array()) public function __construct($config = array())
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage import.php @subpackage import.php
@ -26,15 +26,16 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
use Joomla\CMS\Filesystem\File; use Joomla\CMS\Filesystem\File;
use Joomla\CMS\Filesystem\Folder; use Joomla\CMS\Filesystem\Folder;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\IOFactory;
/** /**
* Questionsanswers Import Model * Questionsanswers Import Base Database Model
*/ */
class QuestionsanswersModelImport extends JModelLegacy class QuestionsanswersModelImport extends BaseDatabaseModel
{ {
// set uploading values // set uploading values
protected $use_streams = false; protected $use_streams = false;

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php
@ -26,14 +26,15 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\AdminModel;
use Joomla\Registry\Registry; use Joomla\Registry\Registry;
use Joomla\String\StringHelper; use Joomla\String\StringHelper;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Question_and_answer Model * Questionsanswers Question_and_answer Admin Model
*/ */
class QuestionsanswersModelQuestion_and_answer extends JModelAdmin class QuestionsanswersModelQuestion_and_answer extends AdminModel
{ {
/** /**
* The tab layout fields array. * The tab layout fields array.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.php @subpackage questions_and_answers.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questions_and_answers Model * Questions_and_answers List Model
*/ */
class QuestionsanswersModelQuestions_and_answers extends JModelList class QuestionsanswersModelQuestions_and_answers extends ListModel
{ {
public function __construct($config = array()) public function __construct($config = array())
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Model\ListModel;
use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Model * Questionsanswers List Model
*/ */
class QuestionsanswersModelQuestionsanswers extends JModelList class QuestionsanswersModelQuestionsanswers extends ListModel
{ {
public function getIcons() public function getIcons()
{ {
@ -325,7 +326,7 @@ jQuery(document).ready( function($) {
jQuery(document).ready(function () { jQuery(document).ready(function () {
jQuery.get(getreadme) jQuery.get(getreadme)
.success(function(readme) { .success(function(readme) {
jQuery("#readme-md").html(marked(readme)); jQuery("#readme-md").html(marked.parse(readme));
}) })
.error(function(jqXHR, textStatus, errorThrown) { .error(function(jqXHR, textStatus, errorThrown) {
jQuery("#readme-md").html("'.JText::_('COM_QUESTIONSANSWERS_PLEASE_CHECK_AGAIN_LATTER').'"); jQuery("#readme-md").html("'.JText::_('COM_QUESTIONSANSWERS_PLEASE_CHECK_AGAIN_LATTER').'");

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questionsanswers.php @subpackage questionsanswers.php

View File

@ -0,0 +1 @@

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.php @subpackage help_document.php
@ -26,6 +26,7 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Table\Table;
use Joomla\Registry\Registry; use Joomla\Registry\Registry;
use Joomla\String\StringHelper; use Joomla\String\StringHelper;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
@ -33,7 +34,7 @@ use Joomla\Utilities\ArrayHelper;
/** /**
* Help_documents Table class * Help_documents Table class
*/ */
class QuestionsanswersTableHelp_document extends JTable class QuestionsanswersTableHelp_document extends Table
{ {
/** /**
* Ensure the params and metadata in json encoded in the bind method * Ensure the params and metadata in json encoded in the bind method

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.php @subpackage question_and_answer.php
@ -26,6 +26,7 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Table\Table;
use Joomla\Registry\Registry; use Joomla\Registry\Registry;
use Joomla\String\StringHelper; use Joomla\String\StringHelper;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
@ -33,7 +34,7 @@ use Joomla\Utilities\ArrayHelper;
/** /**
* Questions_and_answers Table class * Questions_and_answers Table class
*/ */
class QuestionsanswersTableQuestion_and_answer extends JTable class QuestionsanswersTableQuestion_and_answer extends Table
{ {
/** /**
* Ensure the params and metadata in json encoded in the bind method * Ensure the params and metadata in json encoded in the bind method

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage edit.php @subpackage edit.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -26,10 +26,12 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\View\HtmlView;
/** /**
* Help_document View class * Help_document Html View class
*/ */
class QuestionsanswersViewHelp_document extends JViewLegacy class QuestionsanswersViewHelp_document extends HtmlView
{ {
/** /**
* display method of View * display method of View

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_body.php @subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_head.php @subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -26,10 +26,12 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\View\HtmlView;
/** /**
* Questionsanswers View class for the Help_documents * Questionsanswers Html View class for the Help_documents
*/ */
class QuestionsanswersViewHelp_documents extends JViewLegacy class QuestionsanswersViewHelp_documents extends HtmlView
{ {
/** /**
* Help_documents view display method * Help_documents view display method

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -26,10 +26,12 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\View\HtmlView;
/** /**
* Questionsanswers Import View * Questionsanswers Import Html View
*/ */
class QuestionsanswersViewImport extends JViewLegacy class QuestionsanswersViewImport extends HtmlView
{ {
protected $headerList; protected $headerList;
protected $hasPackage = false; protected $hasPackage = false;

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage submitbutton.js @subpackage submitbutton.js

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage edit.php @subpackage edit.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -26,10 +26,12 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\View\HtmlView;
/** /**
* Question_and_answer View class * Question_and_answer Html View class
*/ */
class QuestionsanswersViewQuestion_and_answer extends JViewLegacy class QuestionsanswersViewQuestion_and_answer extends HtmlView
{ {
/** /**
* display method of View * display method of View

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_body.php @subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_batch_footer.php @subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_body.php @subpackage default_body.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_foot.php @subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_head.php @subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_toolbar.php @subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\View\HtmlView;
use Joomla\CMS\Filesystem\File; use Joomla\CMS\Filesystem\File;
/** /**
* Questionsanswers View class for the Questions_and_answers * Questionsanswers Html View class for the Questions_and_answers
*/ */
class QuestionsanswersViewQuestions_and_answers extends JViewLegacy class QuestionsanswersViewQuestions_and_answers extends HtmlView
{ {
/** /**
* Questions_and_answers view display method * Questions_and_answers view display method

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default.php @subpackage default.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_main.php @subpackage default_main.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_readme_information.php @subpackage default_readme_information.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_vast_development_method_notice_board.php @subpackage default_vast_development_method_notice_board.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage default_vdm.php @subpackage default_vdm.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage view.html.php @subpackage view.html.php

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage A4.print.css @subpackage A4.print.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help_document.js @subpackage help_document.js

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.js @subpackage question_and_answer.js

View File

@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="4" method="upgrade"> <extension type="component" version="4" method="upgrade">
<name>COM_QUESTIONSANSWERS</name> <name>COM_QUESTIONSANSWERS</name>
<creationDate>2nd March, 2022</creationDate> <creationDate>27th May, 2022</creationDate>
<author>Llewellyn van der Merwe</author> <author>Llewellyn van der Merwe</author>
<authorEmail>joomla@vdm.io</authorEmail> <authorEmail>joomla@vdm.io</authorEmail>
<authorUrl>https://www.vdm.io/</authorUrl> <authorUrl>https://www.vdm.io/</authorUrl>
<copyright>Copyright (C) 2015. All Rights Reserved</copyright> <copyright>Copyright (C) 2015. All Rights Reserved</copyright>
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license> <license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
<version>1.0.4</version> <version>1.1.0</version>
<description><![CDATA[ <description><![CDATA[
<h1>Questions and Answers (v.1.0.4)</h1> <h1>Questions and Answers (v.1.1.0)</h1>
<div style="clear: both;"></div> <div style="clear: both;"></div>
<p>Just a basic Questions & Answers.</p> <p>Just a basic Questions & Answers.</p>
<p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a><br /><small>Development started 30th January, 2017</small></p> <p>Created by <a href="https://www.vdm.io/" target="_blank">Llewellyn van der Merwe</a><br /><small>Development started 30th January, 2017</small></p>

View File

@ -7,7 +7,7 @@
<version>1.0.2</version> <version>1.0.2</version>
<infourl title="Questions and Answers!">https://www.vdm.io/</infourl> <infourl title="Questions and Answers!">https://www.vdm.io/</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Questions-and-Answers/archive/master.zip</downloadurl> <downloadurl type="full" format="zip">https://git.vdm.dev/joomla/Questions-and-Answers/archive/v1.0.4.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>
@ -24,7 +24,24 @@
<version>1.0.4</version> <version>1.0.4</version>
<infourl title="Questions and Answers!">https://www.vdm.io/</infourl> <infourl title="Questions and Answers!">https://www.vdm.io/</infourl>
<downloads> <downloads>
<downloadurl type="full" format="zip">https://github.com/vdm-io/Joomla-Questions-and-Answers/archive/master.zip</downloadurl> <downloadurl type="full" format="zip">https://git.vdm.dev/joomla/Questions-and-Answers/archive/v1.0.4.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Llewellyn van der Merwe</maintainer>
<maintainerurl>https://www.vdm.io/</maintainerurl>
<targetplatform name="joomla" version="3.*"/>
</update>
<update>
<name>Questions and Answers</name>
<description>Questions &amp; Answers</description>
<element>com_questionsanswers</element>
<type>component</type>
<version>1.1.0</version>
<infourl title="Questions and Answers!">https://www.vdm.io/</infourl>
<downloads>
<downloadurl type="full" format="zip">https://git.vdm.dev/joomla/Questions-and-Answers/archive/v1.1.0.zip</downloadurl>
</downloads> </downloads>
<tags> <tags>
<tag>stable</tag> <tag>stable</tag>

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage script.php @subpackage script.php
@ -812,7 +812,7 @@ class com_questionsanswersInstallerScript
echo '<a target="_blank" href="https://www.vdm.io/" title="Questions and Answers"> echo '<a target="_blank" href="https://www.vdm.io/" title="Questions and Answers">
<img src="components/com_questionsanswers/assets/images/vdm-component.jpg"/> <img src="components/com_questionsanswers/assets/images/vdm-component.jpg"/>
</a> </a>
<h3>Upgrade to Version 1.0.4 Was Successful! Let us know if anything is not working as expected.</h3>'; <h3>Upgrade to Version 1.1.0 Was Successful! Let us know if anything is not working as expected.</h3>';
// Set db if not set already. // Set db if not set already.
if (!isset($db)) if (!isset($db))

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage category.css @subpackage category.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage downloads.css @subpackage downloads.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage question_and_answer.css @subpackage question_and_answer.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage questions_and_answers.css @subpackage questions_and_answers.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage site.css @subpackage site.css

View File

@ -9,8 +9,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage site.js @subpackage site.js

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage controller.php @subpackage controller.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Component Controller * Questionsanswers Component Base Controller
*/ */
class QuestionsanswersController extends JControllerLegacy class QuestionsanswersController extends BaseController
{ {
/** /**
* Method to display a view. * Method to display a view.

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage ajax.json.php @subpackage ajax.json.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Ajax Controller * Questionsanswers Ajax Base Controller
*/ */
class QuestionsanswersControllerAjax extends JControllerLegacy class QuestionsanswersControllerAjax extends BaseController
{ {
public function __construct($config) public function __construct($config)
{ {

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage download.php @subpackage download.php

View File

@ -10,8 +10,8 @@
|_| |_|
/-------------------------------------------------------------------------------------------------------------------------------/ /-------------------------------------------------------------------------------------------------------------------------------/
@version 1.0.x @version 1.1.x
@build 2nd March, 2022 @build 27th May, 2022
@created 30th January, 2017 @created 30th January, 2017
@package Questions and Answers @package Questions and Answers
@subpackage help.php @subpackage help.php
@ -26,12 +26,13 @@
// No direct access to this file // No direct access to this file
defined('_JEXEC') or die('Restricted access'); defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\MVC\Controller\BaseController;
use Joomla\Utilities\ArrayHelper; use Joomla\Utilities\ArrayHelper;
/** /**
* Questionsanswers Help Controller * Questionsanswers Help Base Controller
*/ */
class QuestionsanswersControllerHelp extends JControllerLegacy class QuestionsanswersControllerHelp extends BaseController
{ {
public function __construct($config) public function __construct($config)
{ {

Some files were not shown because too many files have changed in this diff Show More