Difference between revisions of "JStream::upload"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Upload a file. | Upload a file. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function upload ( | public function upload ( | ||
Line 55: | Line 53: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JStream::upload source code''' on [[jplatform:filesystem/stream.php#cl-1229|BitBucket]] | * {{JVer|11.1}} '''JStream::upload source code''' on [[jplatform:filesystem/stream.php#cl-1229|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JStream | + | * {{JVer|11.1}} Class [[API17:JStream|JStream]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Filesystem|Filesystem]] |
− | * [[JStream::upload|Other versions of JStream::upload]] | + | * [[API17:JStream::upload|Other versions of JStream::upload]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JStream::upload | category=JStream::upload | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 73: | Line 69: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:44, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JStream::upload[edit]
Description[edit]
Upload a file.
public function upload (
$src
$dest
$context=null
$use_prefix=true
$relative=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$src | string | ||
$dest | string | ||
$context | $context | null | |
$use_prefix | boolean | true | $user_prefix |
$relative | boolean | false | $relative |
See also[edit]
- JStream::upload source code on BitBucket
- Class JStream
- Subpackage Filesystem
- Other versions of JStream::upload
User contributed notes[edit]
Code Examples[edit]