View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
09489Bug reportsPluginspublic2015-02-03 12:33
Reporterroundge Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Summary09489: Event newDirectRequest does not work
Description

Event newDirectRequest does not work.

L'évenement de plugin NewDirectRequest ne semble pas marcher.

Steps To Reproduce

// Exemple plugin.

[...]

public function construct(PluginManager $manager, $id) {
parent::
construct($manager, $id);

    $this->subscribe('newDirectRequest');
}

public function newDirectRequest(){
  var_dump($this);
}

[...]

Additional Information

I've tried different ways without success

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)553a5e60c0de78dd8970d9ca6ddf
I will donate to the project if issue is resolvedNo
BrowserFirefox 36
Database type & versionmysql Ver 14.14 Distrib 5.5.40, for debian-linux-gnu (x86_64) using readline 6.3
Server OS (if known)Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux
Webserver software & version (if known)nginx version: nginx/1.6.2
PHP VersionPHP 5.6.4-4 (cli) (built: Jan 8 2015 18:39:50)
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-02-03 11:43

developer   ~31612

And your url ?

To find it :
$this->api->createUrl('plugins/direct', array('plugin' => get_class($this),'function' => 'yourfunction')), for example

roundge

roundge

2015-02-03 12:19

reporter   ~31614

OK ! I didn't know how to use it !

DenisChenu

DenisChenu

2015-02-03 12:33

developer   ~31617

Manual is a good place to have information for plugin events:
https://manual.limesurvey.org/NewDirectRequest

Issue History

Date Modified Username Field Change
2015-02-03 11:22 roundge New Issue
2015-02-03 11:43 DenisChenu Note Added: 31612
2015-02-03 11:43 DenisChenu Assigned To => DenisChenu
2015-02-03 11:43 DenisChenu Status new => feedback
2015-02-03 12:19 roundge Note Added: 31614
2015-02-03 12:19 roundge Status feedback => assigned
2015-02-03 12:33 DenisChenu Note Added: 31617
2015-02-03 12:33 DenisChenu Status assigned => closed
2015-02-03 12:33 DenisChenu Resolution open => no change required