copy()
copy_dir()
create()
create_dir()
delete()
delete_dir()
extensions()
forge()
get_handler()
get_path()
get_permissions()
get_size()
get_time()
get_url()
read()
read_dir()
rename()
rename_dir()
update()
use_locks()
__construct()
$basedir
$extensions
$file_handlers
$url
$use_locks
copy($path, $new_path)
copy_dir($path, $new_path)
create($basepath, $name, $contents)
create_dir($basepath, $name, $chmod)
delete($path)
delete_dir($path, $recursive, $delete_top)
extensions() : array
array
get_handler(string $path, array $config, array $content) : \Fuel\Core\File_Handler_File
string
path to file or directory
array
optional config
array
\FileAccessException |
when outside basedir restriction or disallowed file extension |
---|---|
\OutsideAreaException |
get_path(string $path) : string
string
\FileAccessException |
when outside basedir restriction or disallowed file extension |
---|---|
\OutsideAreaException |
string
get_size($path)
get_time($path, $type)
get_url($path) : string
string
\LogicException |
when no url is set or no basedir is set and file is outside DOCROOT |
---|
string
read($path, $as_string)
read_dir($path, $depth, $filter)
rename($path, $new_path)
rename_dir($path, $new_path)
update($basepath, $name, $new_content)
use_locks() : bool
bool
__construct(array $config)
$basedir : string
$extensions : array
$file_handlers : array
$url : string
$use_locks : bool