[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/cms/src/toolkit/ -> lmbCmsTools.class.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  lmb_require('limb/toolkit/src/lmbAbstractTools.class.php');
  10  lmb_require('limb/tree/src/lmbMPTree.class.php');
  11  
  12  /**

  13   * class lmbCmsTools.

  14   *

  15   * @package cms

  16   * @version $Id: lmbCmsTools.class.php 5945 2007-06-06 08:31:43Z pachanga $

  17   */
  18  class lmbCmsTools extends lmbAbstractTools
  19  {
  20    protected $tree;
  21  
  22    function getCmsTree()
  23    {
  24      if(is_object($this->tree))
  25        return $this->tree;
  26  
  27      $this->tree = new lmbMPTree('node');
  28  
  29      return $this->tree;
  30    }
  31  
  32    function setCmsTree($tree)
  33    {
  34      $this->tree = $tree;
  35    }
  36  }
  37  
  38  ?>


Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7