Commit abc1f15b by Denis Chenu

[fix] 2.63.0 LS broke API compatibility

parent a2931425
Showing with 7 additions and 6 deletions
# Export complete answers (Code and text)
# Export complete answers (Code and text)
Export complete answers is a plugin for LimeSurvey version up to 2.05. It add a new export allowing to export code and text of answers in LimeSurvey with options in CSV format.
## Installation
......@@ -8,7 +8,7 @@ Export complete answers is a plugin for LimeSurvey version up to 2.05. It add a
- Clone in plugins/exportCompleteAnswers directory
### Via ZIP dowload
- Get the file at <http://extensions.sondages.pro/IMG/auto/exportCompleteAnswers.zip> and uncompress it
- Get the file at <http://extensions.sondages.pro/IMG/auto/exportCompleteAnswers.zip> and uncompress it
- Move the files included to plugins/exportCompleteAnswers directory
## Home page & Copyright
......@@ -17,4 +17,6 @@ Export complete answers is a plugin for LimeSurvey version up to 2.05. It add a
- Copyright © 2014-2015 Belgian Health Care Knowledge Centre (KCE) <http://kce.fgov.be>
- Licence : GNU General Affero Public License <https://www.gnu.org/licenses/agpl-3.0.html>
## Support
- Issues <https://framagit.org/SondagePro-LimeSurvey-plugin/exportCompleteAnswers/issues>
- Professional support <http://extensions.sondages.pro/1>
......@@ -20,7 +20,7 @@
* GNU General Affero Public License for more details.
*
*/
class exportCompleteAnswers extends PluginBase {
class exportCompleteAnswers extends \ls\pluginmanager\PluginBase {
protected $storage = 'DbStorage';
static protected $name = 'Export all answers (code and text)';
static protected $description = 'Allow to export code and text for answers. Give some ability to export it the way you want.';
......@@ -119,8 +119,7 @@ class exportCompleteAnswers extends PluginBase {
),
);
public function __construct(PluginManager $manager, $id) {
parent::__construct($manager, $id);
public function init() {
$this->subscribe('beforeActivate');
$this->subscribe('listExportPlugins');
$this->subscribe('listExportOptions');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment