| [ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
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: | 916 lines (21 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
filesystem:: (24 methods):
__construct()
chgrp()
chmod()
chown()
clean_path()
copy()
dump_file()
exists()
is_absolute_path()
is_readable()
is_writable()
make_path_relative()
mirror()
mkdir()
phpbb_chmod()
realpath()
remove()
rename()
symlink()
touch()
phpbb_is_writable()
phpbb_own_realpath()
to_iterator()
resolve_path()
Class: filesystem - X-Ref
A class with various functions that are related to paths, files and the filesystem| __construct() X-Ref |
| Constructor |
| chgrp($files, $group, $recursive = false) X-Ref |
| {@inheritdoc} |
| chmod($files, $perms = null, $recursive = false, $force_chmod_link = false) X-Ref |
| {@inheritdoc} |
| chown($files, $user, $recursive = false) X-Ref |
| {@inheritdoc} |
| clean_path($path) X-Ref |
| {@inheritdoc} |
| copy($origin_file, $target_file, $override = false) X-Ref |
| {@inheritdoc} |
| dump_file($filename, $content) X-Ref |
| {@inheritdoc} |
| exists($files) X-Ref |
| {@inheritdoc} |
| is_absolute_path($path) X-Ref |
| {@inheritdoc} |
| is_readable($files, $recursive = false) X-Ref |
| {@inheritdoc} |
| is_writable($files, $recursive = false) X-Ref |
| {@inheritdoc} |
| make_path_relative($end_path, $start_path) X-Ref |
| {@inheritdoc} |
| mirror($origin_dir, $target_dir, \Traversable $iterator = null, $options = array() X-Ref |
| {@inheritdoc} |
| mkdir($dirs, $mode = 0777) X-Ref |
| {@inheritdoc} |
| phpbb_chmod($files, $perms = null, $recursive = false, $force_chmod_link = false) X-Ref |
| {@inheritdoc} |
| realpath($path) X-Ref |
| {@inheritdoc} |
| remove($files) X-Ref |
| {@inheritdoc} |
| rename($origin, $target, $overwrite = false) X-Ref |
| {@inheritdoc} |
| symlink($origin_dir, $target_dir, $copy_on_windows = false) X-Ref |
| {@inheritdoc} |
| touch($files, $time = null, $access_time = null) X-Ref |
| {@inheritdoc} |
| phpbb_is_writable($file) X-Ref |
| phpBB's implementation of is_writable param: string $file file/directory to check if writable return: bool true if the given path is writable |
| phpbb_own_realpath($path) X-Ref |
| Try to resolve real path when PHP's realpath failes to do so param: string $path return: bool|string |
| to_iterator($files) X-Ref |
| Convert file(s) to \Traversable object This is the same function as Symfony's toIterator, but that is private so we cannot use it. param: string|array|\Traversable $files filename/list of filenames return: \Traversable |
| resolve_path($path, $prefix = '', $absolute = false, $return_array = false) X-Ref |
| Try to resolve symlinks in path param: string $path The path to resolve param: string $prefix The path prefix (on windows the drive letter) param: bool $absolute Whether or not the path is absolute param: bool $return_array Whether or not to return path parts return: string|array|bool returns the resolved path or an array of parts of the path if $return_array is true |
| Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |