API17:JStream::delete
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JStream::delete|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JStream::delete|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function delete ( |
| + | $filename | ||
| + | $context=null | ||
| + | $use_prefix=true | ||
| + | $relative=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 44: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed | |
| − | mixed | + | * '''Defined''' on line 1190 of libraries/joomla/filesystem/stream.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/filesystem/stream.php | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JStream::delete source code''' on [[jplatform:filesystem/stream.php#cl-1182|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JStream/11.1|JStream]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Filesystem/11.1|Filesystem]] | ||
| + | * [[JStream::delete|Other versions of JStream::delete]] | ||
| + | {{SeeAlso:JStream::delete}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JStream::delete|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JStream::delete|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 62: | Line 64: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JStream]][[Category:JStream::delete]]</noinclude> | <noinclude>[[Category:JStream]][[Category:JStream::delete]]</noinclude> | ||
Revision as of 21:42, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JStream::delete
Description
Delete a file.
Description:JStream::delete [Edit Descripton]
public function delete ( $filename $context=null $use_prefix=true $relative=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $filename | string | ||
| $context | $context | null | |
| $use_prefix | boolean | true | $user_prefix |
| $relative | boolean | false | $relative |
See also
-
JStream::delete source code on BitBucket
-
Class JStream
-
Subpackage Filesystem
- Other versions of JStream::delete
SeeAlso:JStream::delete [Edit See Also]
User contributed notes
<CodeExamplesForm />
