Lithron.LVirtualNodes
[ class tree: Lithron.LVirtualNodes ] [ index: Lithron.LVirtualNodes ] [ all elements ]

Source for file LVirtualNodesSiteNode.php

Documentation is available at LVirtualNodesSiteNode.php

  1. <?php
  2.  
  3. require_once 'l_virtual_nodes/om/BaseLVirtualNodesSiteNode.php';
  4.  
  5.  
  6. /**
  7. * Skeleton subclass for representing a node from the 'l_virtual_nodes_site' table.
  8. *
  9. * Sitemap Table
  10. *
  11. * This class was autogenerated by Propel on:
  12. *
  13. * Fri Apr 28 18:49:49 2006
  14. *
  15. * You should add additional methods to this class to meet the
  16. * application requirements. This class will only be generated as
  17. * long as it does not already exist in the output directory.
  18. *
  19. * @package Lithron.LVirtualNodes
  20. * @subpackage Propel
  21.  
  22. */
  23. class LVirtualNodesSiteNode extends BaseLVirtualNodesSiteNode {
  24.  
  25. public function insertNewNodeAt($pos, $node, $conn)
  26. {
  27. $this->shiftChildNodes(1, $pos, $conn);
  28. $this->insertNewChildNode($node, $pos, $conn);
  29. }
  30.  
  31. public function deleteChildNodeAt($pos, $conn)
  32. {
  33. $victim = $this->getChildNodeAt($pos);
  34. LVirtualNodesSiteNodePeer::deleteNodeSubTree($victim->getPath(), $conn);
  35. $this->shiftChildNodes(-1, $pos+1, $conn);
  36. }
  37.  
  38. } // LVirtualNodesSiteNode

Documentation generated on Tue, 20 Jun 2006 05:15:25 +0200 by phpDocumentor 1.3.0RC4