class File (View source)

Properties

static int $defaultMode

Methods

static string
getFileExtension($name)

No description

static string
getValidFilename($tmpFilename, null $language = null)

No description

static bool
isIncludeable($filename)

No description

static 
setDefaultMode($mode)

No description

static int
getDefaultMode()

No description

static int
put($path, $data)

No description

static 
putPhpFile($path, $data)

No description

static bool
mkdir($path, null $mode = null, bool $recursive = true)

No description

static bool
rename($oldPath, $newPath)

No description

static null|resource
getContext()

No description

static 
setContext(resource $context)

No description

Details

at line line 40
static string getFileExtension($name)

Parameters

$name

Return Value

string

at line line 58
static string getValidFilename($tmpFilename, null $language = null)

Parameters

$tmpFilename
null $language

Return Value

string

at line line 76
static bool isIncludeable($filename)

Parameters

$filename

Return Value

bool

at line line 113
static setDefaultMode($mode)

Parameters

$mode

at line line 121
static int getDefaultMode()

Return Value

int

at line line 131
static int put($path, $data)

Parameters

$path
$data

Return Value

int

at line line 147
static putPhpFile($path, $data)

Parameters

$path
$data

at line line 162
static bool mkdir($path, null $mode = null, bool $recursive = true)

Parameters

$path
null $mode
bool $recursive

Return Value

bool

at line line 178
static bool rename($oldPath, $newPath)

Parameters

$oldPath
$newPath

Return Value

bool

at line line 196
static null|resource getContext()

Return Value

null|resource

at line line 208
static setContext(resource $context)

Parameters

resource $context