JFilesystemHelper

File system helper

Holds support functions for the filesystem, particularly the stream

package

Joomla.Platform

subpackage

FileSystem

since

11.1

Methods

ftpChmod

Quick FTP chmod

ftpChmod(string $url, integer $mode) : mixed
static
see

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

since

11.1

Arguments

$url

stringLink identifier

$mode

integerThe new permissions, given as an octal value.

Response

mixed

getFilters

Returns a list of filters

getFilters() : array
static
since

11.1

Response

array

getJStreams

Returns a list of J! streams

getJStreams() : array
static
since

11.1

Response

array

getSupported

Stream and Filter Support Operations

getSupported() : array
static

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

since

11.1

Response

arrayStreams

getTransports

Returns a list of transports

getTransports() : array
static
since

11.1

Response

array

getWriteModes

Modes that require a write operation

getWriteModes() : array
static
since

11.1

Response

array

isJoomlaStream

Determine if a stream is a Joomla stream.

isJoomlaStream(string $streamname) : boolean
static
since

11.1

Arguments

$streamname

stringThe name of a stream

Response

booleanTrue for a Joomla Stream

remotefsize

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

remotefsize(string $url) : mixed
static
see

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

since

11.1

Arguments

$url

stringTODO Add text

Response

mixed