[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/phpbb/install/helper/file_updater/ -> file_updater.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: 202 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

file_updater:: (7 methods):
  __construct()
  delete_file()
  create_new_file()
  update_file()
  make_dir()
  write_file()
  get_method_name()


Class: file_updater  - X-Ref

File updater for direct filesystem access

__construct(filesystem $filesystem, $phpbb_root_path)   X-Ref
Constructor

param: filesystem    $filesystem
param: string        $phpbb_root_path

delete_file($path_to_file)   X-Ref
{@inheritdoc}


create_new_file($path_to_file_to_create, $source, $create_from_content = false)   X-Ref
{@inheritdoc}


update_file($path_to_file_to_update, $source, $create_from_content = false)   X-Ref
{@inheritdoc}


make_dir($path)   X-Ref
Creates directory structure

param: string    $path    Path to the directory where the file should be placed (and non-existent)

write_file($path_to_file, $source, $create_from_content = false)   X-Ref
Fallback function for file writing

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

get_method_name()   X-Ref
{@inheritdoc}




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