Documentation

fileOption
in package

File option objekt

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2011-2020, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

Table of Contents

EXTENSION_CACHE  = '.fpcm'
$path  : string
Complete file path
__construct()  : mixed
Constructor
read()  : mixed
Fetch data from file option
remove()  : bool
Remove file option
write()  : bool
Write content to file option
getExt()  : string
Return extension for cache file
getType()  : string
Return path type

Constants

EXTENSION_CACHE

public mixed EXTENSION_CACHE = '.fpcm'

Properties

Methods

__construct()

Constructor

public __construct(string $option) : mixed
Parameters
$option : string
Return values
mixed

read()

Fetch data from file option

public read() : mixed
Return values
mixed

remove()

Remove file option

public remove() : bool
Return values
bool

write()

Write content to file option

public write(mixed $data) : bool
Parameters
$data : mixed
Return values
bool

getExt()

Return extension for cache file

protected getExt() : string
Return values
string

getType()

Return path type

protected getType() : string
Return values
string

Search results