23 lines
585 B
PHP
23 lines
585 B
PHP
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
/**
|
|
* This is class renders responses and forms based on the values from a module.
|
|
*
|
|
* @package OSB
|
|
* @category Helpers
|
|
* @author Deon George
|
|
* @copyright (c) 2009-2013 Open Source Billing
|
|
* @license http://dev.osbill.net/license.html
|
|
*/
|
|
class StaticList_Module extends StaticListModule {
|
|
protected function table($module=NULL) {
|
|
if (is_null($module))
|
|
throw new Kohana_Exception('Module is a required attribute.');
|
|
}
|
|
|
|
public static function factory() {
|
|
return new StaticList_Module;
|
|
}
|
|
}
|
|
?>
|