Actions

API17

JStream

From Joomla! Documentation

Revision as of 15:57, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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.

[Edit Descripton] Description:JStream

Defined in

libraries/joomla/filesystem/stream.php

Subpackage

Filesystem

Extends

JObject

Extended by

Methods

Method name Description
__construct Constructor.
__destruct Destructor.
_buildContext Builds the context from the array.
_getFilename Determine the appropriate 'filename' of a file.
addContextEntry Adds a particular options to the context.
appendFilter Append a filter to the chain.
applyContextToStream Applies the current context to the stream.
chmod Chmod wrapper.
close Attempt to close a file handle.
copy Copy a file from src to dest.
delete Delete a file.
deleteContextEntry Deletes a particular setting from a context.
eof Work out if we're at the end of the file for a stream.
filesize Retrieve the file size of the path.
get_meta_data Get the stream metadata.
getFileHandle Return the internal file handle.
gets
move Moves a file.
open Open a stream with some lazy loading smarts.
prependFilter Prepend a filter to the chain.
read Read a file.
removeFilter Remove a filter, either by resource (handed out from the append or prepend function alternatively via getting the filter list).
seek Seek the file.
setContextOptions Updates the context to the array.
tell
upload Upload a file.
write File write.
writeFile Writes a chunk of data to a file.

Importing

jimport( 'joomla.filesystem.stream' );

See also

SeeAlso:JStream [Edit See Also]

Examples

<CodeExamplesForm />