Difference between revisions of "JStream::upload"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JStream::upload|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JStream::upload|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function upload ( |
+ | $src | ||
+ | $dest | ||
+ | $context=null | ||
+ | $use_prefix=true | ||
+ | $relative=false | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 47: | Line 50: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed | |
− | mixed | + | * '''Defined''' on line 1237 of libraries/joomla/filesystem/stream.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/filesystem/stream.php | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JStream::upload source code''' on [[jplatform:filesystem/stream.php#cl-1229|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JStream/11.1|JStream]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
+ | * [[JStream::upload|Other versions of JStream::upload]] | ||
+ | {{SeeAlso:JStream::upload}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JStream::upload|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JStream::upload|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 67: | Line 70: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JStream]][[Category:JStream::upload]]</noinclude> | <noinclude>[[Category:JStream]][[Category:JStream::upload]]</noinclude> |
Revision as of 21:43, 27 April 2011
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.
Template:Description:JStream::upload [Edit Descripton]
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
Template:SeeAlso:JStream::upload [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />