Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $class = get_class($this);
     $reflection = new ReflectionClass($class);
     $this->pluginDir = dirname($reflection->getFileName());
 }
Ejemplo n.º 2
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('afterSurveyComplete');
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newDirectRequest');
 }
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeActivate');
     $this->subscribe('listExportPlugins');
     $this->subscribe('listExportOptions');
     $this->subscribe('newExport');
 }
Ejemplo n.º 4
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     /**
      * Here you should handle subscribing to the events your plugin will handle
      */
     $this->subscribe('afterSurveyComplete', 'showTheResponse');
 }
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
     $this->subscribe('beforeQuestionRender');
     $this->subscribe('newDirectRequest');
 }
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
     //Can call plugin
     $this->subscribe('newDirectRequest');
     // Add js and css
     $this->subscribe('beforeSurveyPage');
 }
Ejemplo n.º 7
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     // Register Event-Listeners Plug-in needs
     $this->subscribe('beforeActivate');
     $this->subscribe('afterAdminMenuLoad');
     $this->subscribe('newDirectRequest');
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
 }
Ejemplo n.º 8
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     /**
      * Here you should handle subscribing to the events your plugin will handle
      */
     $this->subscribe('listExportPlugins');
     $this->subscribe('listExportOptions');
     $this->subscribe('newExport');
 }
Ejemplo n.º 9
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     /**
      * Here you should handle subscribing to the events your plugin will handle
      */
     $this->subscribe('afterPluginLoad', 'helloWorld');
     $this->subscribe('afterAdminMenuLoaded');
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
 }
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     /**
      * Subscribes to plugin settings event for each survey (beforeSurveySettings, newSurveySettings)
      * Subscribes to afterSurveyComplete event in order to send email notification
      */
     $this->subscribe('afterSurveyComplete', 'afterSurveyComplete');
     $this->subscribe('beforeSurveySettings', 'beforeSurveySettings');
     $this->subscribe('newSurveySettings');
 }
Ejemplo n.º 11
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
     $this->subscribe('beforeActivate');
     $this->subscribe('beforeUserSave');
     $this->subscribe('beforeUserDelete');
     $this->subscribe('beforePermissionSetSave');
     $this->subscribe('beforeParticipantSave');
     $this->subscribe('beforeParticipantDelete');
 }
Ejemplo n.º 12
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     // Provides survey specific settings.
     $this->subscribe('beforeSurveySettings');
     // Saves survey specific settings.
     $this->subscribe('newSurveySettings');
     // Encrypt data on survey completion.
     $this->subscribe('afterSurveyComplete');
     // Create table for encrypted data.
     $this->subscribe('beforeActivate');
     $this->subscribe('newDirectRequest');
 }
Ejemplo n.º 13
0
        public function __construct(PluginManager $manager, $id) {
            parent::__construct($manager, $id);

            $this->subscribe('beforeSurveySettings');
            $this->subscribe('newSurveySettings');
            $this->subscribe('beforeActivate');
            $this->subscribe('beforeUserSave');
            $this->subscribe('beforeUserDelete');
            $this->subscribe('beforePermissionSetSave'); 
            $this->subscribe('beforeParticipantSave'); 
            $this->subscribe('beforeParticipantDelete'); 
            $this->subscribe('beforeLogout');
            $this->subscribe('afterSuccessfulLogin');
            $this->subscribe('afterFailedLoginAttempt');
        }
Ejemplo n.º 14
0
 public function __construct()
 {
     parent::__construct();
     $this->tutorial = new Tutorial();
 }
Ejemplo n.º 15
0
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 16
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('afterPluginLoad', 'oldUrlCompat');
 }
Ejemplo n.º 17
0
 public function __construct(PluginManager $manager, $id) {
     parent::__construct($manager, $id);
     $this->subscribe('beforeSurveyPage');
     $this->subscribe('beforeSurveySettings');
     $this->subscribe('newSurveySettings');
 }
Ejemplo n.º 18
0
 public function __construct()
 {
     parent::__construct();
     $this->adn = new AppDotNet(null, null);
 }
Ejemplo n.º 19
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeSurveyPage');
     $this->subscribe('beforeQuestionRender');
 }
Ejemplo n.º 20
0
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('beforeActivate');
 }
Ejemplo n.º 21
0
 function __construct($id)
 {
     parent::__construct(dirname(__FILE__), $id);
     //Construct
 }
Ejemplo n.º 22
0
 /**
  * 
  * @param PluginManager $pluginManager
  * @param string $id
  * @param int $responseId Pass a response id to load results.
  */
 public function __construct(PluginManager $manager, $id)
 {
     parent::__construct($manager, $id);
     $this->subscribe('listQuestionPlugins');
 }