class JFilesystemHelper


Located at : UKNOWVA_ROOT/libraries/joomla/filesystem/helper.php

File system helper

Holds support functions for the filesystem, particularly the stream

Methods

mixed
remotefsize(string $url)

Remote file size function for streams that don't support it

mixed
ftpChmod(string $url, integer $mode)

Quick FTP chmod

static array
getWriteModes()

Modes that require a write operation

array
getSupported()

Stream and Filter Support Operations

array
getTransports()

Returns a list of transports

array
getFilters()

Returns a list of filters

array
getJStreams()

Returns a list of J! streams

boolean
isJoomlaStream(string $streamname)

Determine if a stream is a Joomla stream.

Details

at line 40
mixed remotefsize(string $url)

Remote file size function for streams that don't support it

Parameters

string $url TODO Add text

Return Value

mixed

See also

http://www.php.net/manual/en/function.filesize.php#71098

at line 124
mixed ftpChmod(string $url, integer $mode)

Quick FTP chmod

Parameters

string $url Link identifier
integer $mode The new permissions, given as an octal value.

Return Value

mixed

See also

http://www.php.net/manual/en/function.ftp-chmod.php

at line 187
static array getWriteModes()

Modes that require a write operation

Return Value

array

at line 201
array getSupported()

Stream and Filter Support Operations

Returns the supported streams, in addition to direct file access Also includes Joomla! streams as well as PHP streams

Return Value

array Streams

at line 222
array getTransports()

Returns a list of transports

Return Value

array

at line 234
array getFilters()

Returns a list of filters

Return Value

array

at line 247
array getJStreams()

Returns a list of J! streams

Return Value

array

at line 269
boolean isJoomlaStream(string $streamname)

Determine if a stream is a Joomla stream.

Parameters

string $streamname The name of a stream

Return Value

boolean True for a Joomla Stream