[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2008 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 350 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FilesystemHelper:: (11 methods):
remotefsize()
ftpChmod()
getWriteModes()
getSupported()
getTransports()
getFilters()
getJStreams()
isJoomlaStream()
fileUploadMaxSize()
parseSize()
parseSizeUnit()
Class: FilesystemHelper - X-Ref
File system helperremotefsize($url) X-Ref |
Remote file size function for streams that don't support it param: string $url Link identifier return: mixed |
ftpChmod($url, $mode) X-Ref |
Quick FTP chmod param: string $url Link identifier param: integer $mode The new permissions, given as an octal value. return: mixed |
getWriteModes() X-Ref |
Modes that require a write operation return: array |
getSupported() X-Ref |
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: array Streams |
getTransports() X-Ref |
Returns a list of transports return: array |
getFilters() X-Ref |
Returns a list of filters return: array |
getJStreams() X-Ref |
Returns a list of J! streams return: array |
isJoomlaStream($streamname) X-Ref |
Determine if a stream is a Joomla stream. param: string $streamname The name of a stream return: boolean True for a Joomla Stream |
fileUploadMaxSize($unitOutput = true) X-Ref |
Calculates the maximum upload file size and returns string with unit or the size in bytes Call it with JFilesystemHelper::fileUploadMaxSize(); param: bool $unitOutput This parameter determines whether the return value should be a string with a unit return: float|string The maximum upload size of files with the appropriate unit or in bytes |
parseSize($size) X-Ref |
Returns the size in bytes without the unit for the comparison param: string $size The size which is received from the PHP settings return: float The size in bytes without the unit |
parseSizeUnit($maxSize) X-Ref |
Creates the rounded size of the size with the appropriate unit param: float $maxSize The maximum size which is allowed for the uploads return: string String with the size and the appropriate unit |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |