phpOpenTracker/phpOpenTracker/API/Result Clickpath.php,1.1,1.2
Sebastian Bergmann <[email protected]> Mon, 19 Apr 2004 14:38:23 +0000
| Newsgroups | gmane.comp.web.phpopentracker.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/API/Result In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25875/phpOpenTracker/API/Result Modified Files: Clickpath.php Log Message: Flush. Index: Clickpath.php =================================================================== RCS file: /cvsroot/phpopencounter/phpOpenTracker/phpOpenTracker/API/Result/Clickpath.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Clickpath.php 29 Feb 2004 17:47:19 -0000 1.1 +++ Clickpath.php 19 Apr 2004 14:38:20 -0000 1.2 @@ -20,15 +20,27 @@ // require_once POT_INCLUDE_PATH . 'API/Result.php'; +@require_once 'Image/GraphViz.php'; /** -* Clickpath -* -* @author Sebastian Bergmann <[email protected]> -* @version $Revision$ -* @since phpOpenTracker 1.0.0 -*/ + * Clickpath + * + * @author Sebastian Bergmann <[email protected]> + * @copyright Copyright © 2000-2004 Sebastian Bergmann <[email protected]> + * @license http://www.apache.org/licenses/LICENSE-2.0 The Apache License, Version 2.0 + * @category phpOpenTracker + * @package phpOpenTracker + * @version $Revision$ + * @since phpOpenTracker 2.0.0 + */ class phpOpenTracker_API_Result_Clickpath extends phpOpenTracker_API_Result { + public function getAsGraphViz() { + if (!class_exists('Image_GraphViz')) { + throw new phpOpenTracker_API_Exception( + 'Class Image_GraphViz not found.' + ); + } + } } // ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click