mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
26 lines
698 B
PHP
26 lines
698 B
PHP
<?php
|
|
|
|
|
|
class DummyStorage implements iPluginStorage
|
|
{
|
|
/**
|
|
* Always fail to get.
|
|
*/
|
|
public function get($plugin, $key = null, $model = null, $id = null, $default = null, $language = null) {
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* Always fail to save.
|
|
*/
|
|
public function set($plugin, $key, $data, $model = 'NULL', $id = 'NULL', $language = 'NULL') {
|
|
echo "DummyStorage::set('" . get_class($plugin) . "', '$key', " . serialize($data) . ", '$model', '$id', '$language')<br>";
|
|
return false;
|
|
}
|
|
|
|
|
|
public function __construct() {
|
|
|
|
}
|
|
}
|
|
?>
|