[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/VFS/ -> Browser.php (source)

   1  <?php
   2  /**
   3   * Class for providing a generic UI for any VFS instance.
   4   *
   5   * $Horde: framework/VFS/VFS/Browser.php,v 1.8.10.9 2006/05/31 04:50:02 slusarz Exp $
   6   *
   7   * Copyright 2002-2006 Chuck Hagenbuch <chuck@horde.org>
   8   *
   9   * See the enclosed file COPYING for license information (LGPL). If you
  10   * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  11   *
  12   * @author  Chuck Hagenbuch <chuck@horde.org>
  13   * @package VFS
  14   */
  15  class VFS_Browser {
  16  
  17      /**
  18       * The VFS instance that we are browsing.
  19       *
  20       * @var VFS
  21       */
  22      var $_vfs;
  23  
  24      /**
  25       * The directory where the templates to use are.
  26       *
  27       * @var string
  28       */
  29      var $_templates;
  30  
  31      /**
  32       * Constructor
  33       *
  34       * @param VFS &$vfs          A VFS object.
  35       * @param string $templates  TODO
  36       */
  37      function VFS_Browser(&$vfs, $templates)
  38      {
  39          if (isset($vfs)) {
  40              $this->_vfs = $vfs;
  41          }
  42          $this->_templates = $templates;
  43      }
  44  
  45      /**
  46       * Set the VFS object in the local object.
  47       *
  48       * @param VFS &$vfs  A VFS object.
  49       */
  50      function setVFSObject(&$vfs)
  51      {
  52          $this->_vfs = &$vfs;
  53      }
  54  
  55      /**
  56       * TODO
  57       *
  58       * @param string $path       TODO
  59       * @param boolean $dotfiles  TODO
  60       * @param boolean $dironly   TODO
  61       */
  62      function getUI($path, $dotfiles = false, $dironly = false)
  63      {
  64          $this->_vfs->listFolder($path, $dotfiles, $dironly);
  65      }
  66  
  67  }


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7