cvs: pear /DB_NestedSet/NestedSet Output.php

From: Date: Sun, 18 Jan 2004 02:02:48 +0000
Subject: cvs: pear /DB_NestedSet/NestedSet Output.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-15745@lists.php.net to get a copy of this message
datenpunk Sat Jan 17 21:02:48 2004 EDT Modified files: /pear/DB_NestedSet/NestedSet Output.php Log: Added abstract method returnStructure() Index: pear/DB_NestedSet/NestedSet/Output.php diff -u pear/DB_NestedSet/NestedSet/Output.php:1.11 pear/DB_NestedSet/NestedSet/Output.php:1.12 --- pear/DB_NestedSet/NestedSet/Output.php:1.11 Mon Oct 6 20:11:27 2003 +++ pear/DB_NestedSet/NestedSet/Output.php Sat Jan 17 21:02:48 2004 @@ -16,7 +16,7 @@ // | Authors: Daniel Khan <dk@webcluster.at> | // | Jason Rust <jason@rustyparts.com> | // +----------------------------------------------------------------------+ -// $Id: Output.php,v 1.11 2003/10/07 00:11:27 datenpunk Exp $ +// $Id: Output.php,v 1.12 2004/01/18 02:02:48 datenpunk Exp $ // require_once 'PEAR.php'; @@ -64,7 +64,7 @@ * * @author Daniel Khan <dk@webcluster.at> * @package DB_NestedSet -* @version $Revision: 1.11 $ +* @version $Revision: 1.12 $ * @access public * */ @@ -100,7 +100,6 @@ function &factory ($params, $driver = 'TreeMenu') { $path = dirname(__FILE__).'/'.$driver.'.php'; - if(is_dir($path) || !file_exists($path)) { PEAR::raiseError("The output driver '$driver' wasn't found", NESEO_DRIVER_NOT_FOUND, PEAR_ERROR_TRIGGER, E_USER_ERROR); } @@ -205,7 +204,17 @@ function listbox_toHTML() { PEAR::raiseError("Method not available for this driver", NESEO_ERROR_NO_METHOD, PEAR_ERROR_TRIGGER, E_USER_ERROR); } + // }}} + // {{{ getStructure() + /** + * + * @access public + * @return mixed + */ + function returnStructure() { + PEAR::raiseError("Method not available for this driver", NESEO_ERROR_NO_METHOD, PEAR_ERROR_TRIGGER, E_USER_ERROR); + } // }}} } ?>

« previous php.pear.cvs (#15745) next »