phpDocumentor tree-node
[ class tree: tree-node ] [ index: tree-node ] [ all elements ]

Source for file Initialize.php

Documentation is available at Initialize.php

  1. <?
  2. /**
  3. * Initialize the Tree Node constants from the POST/GET request
  4. * or from the default values
  5. *
  6. * @package tree-node
  7. * @filesource
  8. * @see HTML_TREE_NODE_RESOURCE_PATH/Initialize.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * Choose, which Tree Nodes to show
  18. * or extract info from GET/POST
  19. * @global TREE_NODE_SHOW The Tree Node to Show
  20. */
  21. if (!defined('TREE_NODE_SHOW')) {
  22. if (empty($_GET[REQUEST_TREE_NODE_SHOW])) {
  23. if (empty($_POST[REQUEST_TREE_NODE_SHOW])) {
  24. // define it later
  25. } else {
  26. /**
  27. * @ignore
  28. */
  29. define('TREE_NODE_SHOW' ,$_POST[REQUEST_TREE_NODE_SHOW]);
  30. }
  31. } else {
  32. /**
  33. * @ignore
  34. */
  35. define('TREE_NODE_SHOW' ,$_GET[REQUEST_TREE_NODE_SHOW]);
  36. }
  37. }
  38. ?>

Documentation generated on Thu, 22 Dec 2005 17:12:06 +0100 by phpDocumentor 1.3.0RC3