home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / php / PEAR / PHP / Beautifier / StreamWrapper.php < prev    next >
Encoding:
PHP Script  |  2008-07-02  |  1.8 KB  |  53 lines

  1. <?php
  2. /**
  3. * Interface for StreamWrappers
  4. *
  5. * PHP version 5
  6. *
  7. * LICENSE: This source file is subject to version 3.0 of the PHP license
  8. * that is available through the world-wide-web at the following URI:
  9. * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
  10. * the PHP License and are unable to obtain it through the web, please
  11. * send a note to license@php.net so we can mail you a copy immediately.
  12. * @category   PHP
  13. * @package PHP_Beautifier
  14. * @subpackage StreamWrapper
  15. * @author Claudio Bustos <cdx@users.sourceforge.com>
  16. * @copyright  2004-2006 Claudio Bustos
  17. * @link     http://pear.php.net/package/PHP_Beautifier
  18. * @link     http://beautifyphp.sourceforge.net
  19. * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  20. * @version    CVS: $Id:$
  21. */
  22. /**
  23. * Interface for StreamWrapper
  24. * Read the documentation for streams wrappers on php manual.
  25. *
  26. * @category   PHP
  27. * @package PHP_Beautifier
  28. * @subpackage StreamWrapper
  29. * @author Claudio Bustos <cdx@users.sourceforge.com>
  30. * @copyright  2004-2006 Claudio Bustos
  31. * @link     http://pear.php.net/package/PHP_Beautifier
  32. * @link     http://beautifyphp.sourceforge.net
  33. * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  34. * @version    Release: 0.1.14
  35. */
  36. interface PHP_Beautifier_StreamWrapper_Interface {
  37.     function stream_open($sPath, $sMode, $iOptions, &$sOpenedPath);
  38.     function stream_close();
  39.     function stream_read($iCount);
  40.     function stream_write($sData);
  41.     function stream_eof();
  42.     function stream_tell();
  43.     function stream_seek($iOffset, $iWhence);
  44.     function stream_flush();
  45.     function stream_stat();
  46.     function unlink($sPath);
  47.     function dir_opendir($sPath, $iOptions);
  48.     function dir_readdir();
  49.     function dir_rewinddir();
  50.     function dir_closedir();
  51. }
  52. require_once ('StreamWrapper/Tarz.php');
  53. ?>