[Phpslash-commit] CVS: phpslash-dev/include/modules/block Block_plugin_i.class,NONE,1.1
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-11-13 19:51:48
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/block In directory sc8-pr-cvs1:/tmp/cvs-serv31271/phpslash-dev/include/modules/block Added Files: Block_plugin_i.class Log Message: Block plugins --- NEW FILE: Block_plugin_i.class --- <?php /* Block_plugin_skel.class -> Base class for story plugins */ /* $Id: Block_plugin_i.class,v 1.1 2003/11/13 19:51:45 joestewart Exp $ */ /** * Class that defines the interface to story plugins and implements * common functionality * * @access public * @author Will Dyson, June 2002 * @package phpslash */ class Block_plugin_i { var $psl; var $type; var $description; var $options; var $output; function Block_plugin_i() { global $_PSL; $this->psl = &$_PSL; $this->output = ""; $this->type = ""; $this->description = "No description"; } function getType() { return $this->type; } function getDesc() { return $this->description; } function getOpts() { return $this->options; } // should never actually be called function parse($block_info) { return 0; } function getFinal() { return $this->output; } } ?> |