Database::query("DELETE FROM $settingsTable WHERE subkey = 'plugin_pens'");
}
/**
* Get the error messages list
* @return array The message list
*/
public function getErrorMessages()
{
return $this->errorMessages;
}
/**
* This method will call the Hook management insertHook to add Hook observer from this plugin
* @return int
*/
public function installHook()
{
}
/**
* This method will call the Hook management deleteHook to disable Hook observer from this plugin
* @return int
*/
public function uninstallHook()
{
}
/**
* Copied and fixed from plugin.class.php
* Returns the "system" name of the plugin in lowercase letters
* @return string
*/
public function get_name()
{
return 'PENS';
}
/**
* Get author(s)
* @return string
*/
public function get_author()
{
return 'Guillaume Viguier-Just, Yannick Warnier';
}
/**
* Returns the plugin version
* @return string
*/
public function get_version()
{
return '1.1';
}
/**
* Get generic plugin info
* @return array
*/
public function get_info()
{
$result = array();
$result['title'] = $this->get_name();
$result['comment'] = 'Provides support for the PENS course exchange standard. Read the readme.txt file in the plugin/pens/ folder for a complete installation.';