[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/fs/src/ -> lmbFileLocatorDecorator.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/fs/src/lmbFileLocator.class.php');
  10  
  11  /**

  12   * class lmbFileLocatorDecorator.

  13   *

  14   * @package fs

  15   * @version $Id$

  16   */
  17  class lmbFileLocatorDecorator extends lmbFileLocator
  18  {
  19    protected $locator = null;
  20  
  21    function __construct($locator)
  22    {
  23      $this->locator = $locator;
  24    }
  25  
  26    function locate($alias, $params = array())
  27    {
  28      return $this->locator->locate($alias, $params);
  29    }
  30  
  31    function locateAll($alias = '')
  32    {
  33      return $this->locator->locateAll($alias);
  34    }
  35  
  36    function getFileLocations()
  37    {
  38      return $this->locator->getFileLocations();
  39    }
  40  }
  41  
  42  ?>


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