Imports code from RippingCluster project

Imports all generic classes from the RippingCluster project, with any ripping-specific code stripped out.
Tested against a dummy project for errors.
This commit is contained in:
2010-10-10 11:36:58 +01:00
commit ddd2e62c13
23 changed files with 1052 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/**
* Base class for all plugins, providing default implementations for
* standard plugin methods.
*
* @class Sihnon_PluginBase
*/
class Sihnon_PluginBase {
/**
* Provides a basic initialisation function that does nothing.
*
*/
public static function init() {
// Nothing to do
}
/**
* Returns the name of this plugin
*
* @return string
*/
public static function name() {
return static::PLUGIN_NAME;
}
}
?>