[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/tree/src/ -> lmbTree.interface.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  
  10  /**

  11   * interface lmbTree.

  12   *

  13   * @package tree

  14   * @version $Id: lmbTree.interface.php 5959 2007-06-07 13:47:57Z pachanga $

  15   */
  16  interface lmbTree
  17  {
  18    function initTree();
  19    function isNode($node);
  20    function getNode($node);
  21    function getRootNode();
  22    function getParent($node);
  23    function getParents($node);
  24    function getSiblings($node);
  25    function getChildren($node, $depth = 1);
  26    function getChildrenAll($node);
  27    function countChildren($node, $depth = 1);
  28    function countChildrenAll($node);
  29    function createNode($parent_node, $values);
  30    function deleteNode($node);
  31    function deleteAll();
  32    function updateNode($node, $values, $internal = false);
  33    function moveNode($source_node, $target_node);
  34    function getNodesByIds($ids_array);
  35    function getNodeByPath($path);
  36    function getPathToNode($node);
  37  }
  38  
  39  ?>


Generated: Tue Dec 2 03:54:09 2008 Cross-referenced by PHPXref 0.7