Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
getExt ($file) | |
stripExt ($file) | |
makeSafe ($file) | |
copy ($src, $dest, $path=null, $useStreams=false) | |
delete ($file) | |
move ($src, $dest, $path='', $useStreams=false) | |
read ($filename, $incpath=false, $amount=0, $chunksize=8192, $offset=0) | |
write ($file, &$buffer, $useStreams=false) | |
upload ($src, $dest, $useStreams=false) | |
exists ($file) | |
getName ($file) | |
Helper wrapper method for copy
string | $src | The path to the source file. |
string | $dest | The path to the destination file. |
string | $path | An optional base path to prefix to the file names. |
boolean | $useStreams | True to use streams. |
Références $path, et File\copy().
delete | ( | $file | ) |
Helper wrapper method for delete
mixed | $file | The file name or an array of file names |
Références $file, et File\delete().
exists | ( | $file | ) |
Helper wrapper method for exists
string | $file | File path. |
Références $file, et File\exists().
getExt | ( | $file | ) |
Helper wrapper method for getExt
string | $file | The file name. |
Références $file, et File\getExt().
getName | ( | $file | ) |
Helper wrapper method for getName
string | $file | File path. |
Références $file, et File\getName().
makeSafe | ( | $file | ) |
Helper wrapper method for makeSafe
string | $file | The name of the file [not full path]. |
Références $file, et File\makeSafe().
move | ( | $src, | |
$dest, | |||
$path = '' , |
|||
$useStreams = false |
|||
) |
Helper wrapper method for move
string | $src | The path to the source file. |
string | $dest | The path to the destination file. |
string | $path | An optional base path to prefix to the file names. |
boolean | $useStreams | True to use streams. |
Références $path, et File\move().
read | ( | $filename, | |
$incpath = false , |
|||
$amount = 0 , |
|||
$chunksize = 8192 , |
|||
$offset = 0 |
|||
) |
Helper wrapper method for read
string | $filename | The full file path. |
boolean | $incpath | Use include path. |
integer | $amount | Amount of file to read. |
integer | $chunksize | Size of chunks to read. |
integer | $offset | Offset of the file. |
Références $offset, et File\read().
stripExt | ( | $file | ) |
Helper wrapper method for stripExt
string | $file | The file name. |
Références $file, et File\stripExt().
upload | ( | $src, | |
$dest, | |||
$useStreams = false |
|||
) |
Helper wrapper method for upload
string | $src | The name of the php (temporary) uploaded file. |
string | $dest | The path (including filename) to move the uploaded file to. |
boolean | $useStreams | True to use streams. |
Références File\upload().
write | ( | $file, | |
& | $buffer, | ||
$useStreams = false |
|||
) |
Helper wrapper method for write
string | $file | The full file path. |
string | &$buffer | The buffer to write. |
boolean | $useStreams | Use streams. |
Références $buffer, $file, et File\write().