Files
sihnon-php-lib/source/lib/Sihnon/PluginBase.class.php
Ben Roberts ddd2e62c13 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.
2010-10-10 11:36:58 +01:00

30 lines
512 B
PHP

<?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;
}
}
?>