[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/install/helper/file_updater/ -> file_updater_interface.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 49 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

file_updater_interface:: (4 methods):
  delete_file()
  create_new_file()
  update_file()
  get_method_name()


Interface: file_updater_interface  - X-Ref

delete_file($path_to_file)   X-Ref
Deletes a file

param: string    $path_to_file    Path to the file to delete

create_new_file($path_to_file_to_create, $source, $create_from_content = false)   X-Ref
Creates a new file

param: string    $path_to_file_to_create    Path to the new file's location
param: string    $source                    Path to file to copy or string with the new file's content
param: bool        $create_from_content    Whether or not to use $source as the content, false by default

update_file($path_to_file_to_update, $source, $create_from_content = false)   X-Ref
Update file

param: string    $path_to_file_to_update    Path to the file's location
param: string    $source                    Path to file to copy or string with the new file's content
param: bool        $create_from_content    Whether or not to use $source as the content, false by default

get_method_name()   X-Ref
Returns the name of the file updater method

return: string



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1