public function __construct() { parent::__construct(); $class = get_class($this); $reflection = new ReflectionClass($class); $this->pluginDir = dirname($reflection->getFileName()); }
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'); }
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'); }
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'); }
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'); }
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'); }
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'); }
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'); }
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'); }
public function __construct() { parent::__construct(); $this->tutorial = new Tutorial(); }
public function __construct() { parent::__construct(); }
public function __construct(PluginManager $manager, $id) { parent::__construct($manager, $id); $this->subscribe('afterPluginLoad', 'oldUrlCompat'); }
public function __construct(PluginManager $manager, $id) { parent::__construct($manager, $id); $this->subscribe('beforeSurveyPage'); $this->subscribe('beforeSurveySettings'); $this->subscribe('newSurveySettings'); }
public function __construct() { parent::__construct(); $this->adn = new AppDotNet(null, null); }
public function __construct(PluginManager $manager, $id) { parent::__construct($manager, $id); $this->subscribe('beforeSurveyPage'); $this->subscribe('beforeQuestionRender'); }
public function __construct(PluginManager $manager, $id) { parent::__construct($manager, $id); $this->subscribe('beforeActivate'); }
function __construct($id) { parent::__construct(dirname(__FILE__), $id); //Construct }
/** * * @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'); }