wiki
[ class tree: wiki ] [ index: wiki ] [ all elements ]

Source for file wiki_graph.php

Documentation is available at wiki_graph.php

  1. <?php
  2. /**
  3.  * Copyright (c) 2004 bitweaver.org
  4.  * Copyright (c) 2003 tikwiki.org
  5.  * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  6.  * All Rights Reserved. See below for details and a complete list of authors.
  7.  * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details
  8.  *
  9.  * @package wiki
  10.  * @subpackage functions
  11.  */
  12.  
  13. /**
  14.  * required setup
  15.  */
  16. include_once'../kernel/setup_inc.php' );
  17. include_onceWIKI_PKG_PATH.'BitPage.php');
  18. include_onceWIKI_PKG_PATH.'lookup_page_inc.php');
  19. include_once'Image/GraphViz.php' );
  20. $graph new Image_GraphViz();
  21.  
  22. $params array(
  23.     'graph' => $gBitThemes->getGraphvizGraphAttributes$_REQUEST ),
  24.     'node'  => $gBitThemes->getGraphvizNodeAttributes$_REQUEST ),
  25.     'edge'  => $gBitThemes->getGraphvizEdgeAttributes$_REQUEST ),
  26. );
  27.  
  28. $linkStructure $gContent->getLinkStructure$gContent->mPageName!empty$_REQUEST['level'$_REQUEST['level');
  29. $gContent->linkStructureGraph$linkStructure$params$graph );
  30. $graph->image'png' );
  31. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:33 +0000 by phpDocumentor 1.5.0-lsces