summaryrefslogtreecommitdiff
path: root/src/lib/Plugin.class.php
blob: f2251d2f44f69bffaf760295541481de4225c018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

abstract class Plugin {
	protected $config = Array();
	
	public abstract static function configList();
	public abstract static function description();
	
	public function configSet($param, $value) {
		if (isset($this->config[$param])) {
			$this->config[$param]=$value;
		}
	}
	
	public abstract function init();
}