[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/phpbb/files/types/ -> type_interface.php (source)

   1  <?php
   2  /**
   3   *
   4   * This file is part of the phpBB Forum Software package.
   5   *
   6   * @copyright (c) phpBB Limited <https://www.phpbb.com>
   7   * @license GNU General Public License, version 2 (GPL-2.0)
   8   *
   9   * For full copyright and license information, please see
  10   * the docs/CREDITS.txt file.
  11   *
  12   */
  13  
  14  namespace phpbb\files\types;
  15  
  16  use phpbb\files\upload;
  17  
  18  interface type_interface
  19  {
  20      /**
  21       * Handle upload for upload types. Arguments passed to this method will be
  22       * handled by the upload type classes themselves.
  23       *
  24       * @return \phpbb\files\filespec|bool Filespec instance if upload is
  25       *                                    successful or false if not
  26       */
  27  	public function upload();
  28  
  29      /**
  30       * Set upload instance
  31       * Needs to be executed before every upload.
  32       *
  33       * @param upload $upload Upload instance
  34       *
  35       * @return type_interface Returns itself
  36       */
  37  	public function set_upload(upload $upload);
  38  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1