copy()
delete()
forge()
get_path()
get_permissions()
get_size()
get_time()
get_url()
move()
read()
rename()
update()
__construct()
$area
$path
$readonly
$resource
copy(string $new_path) : bool
string
path to target directory, must be valid
bool
delete() : bool
bool
forge($path, array $config, \Fuel\Core\File_Area $area, $content)
get_path() : string
string
File pathget_size() : int
int
File sizeget_time(string $type) : int
string
modified or created
int
Unix Timestampget_url() : bool
bool
move(string $new_path) : bool
string
path to new directory, must be valid
bool
read(bool $as_string) : string | \Fuel\Core\IO
bool
whether to use file_get_contents() or readfile()
string
\Fuel\Core\IO
rename(string $new_name, string | bool $new_extension) : bool
string
new filename
string
bool
new extension, false to keep current
bool
update(mixed $new_content) : bool
mixed
new file contents
bool
__construct($path, array $config, \Fuel\Core\File_Area $area, $content)
$path : string
$readonly : bool
$resource : Resource