Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JBuffer

Description

Generic Buffer stream handler

This class provides a generic buffer stream. It can be used to store/retrieve/manipulate string buffers with the standard PHP filesystem I/O methods.

  • since: 1.5

Located in /joomla/utilities/buffer.php (line 25)

Class JBuffer   (Subpackage Utilities)
Variable Summary
Variable string $name
Variable int $position
Variable array $_buffers
Method Summary
Method void stream_eof ()
Method void stream_open ( $path,  $mode,  $options,  &$opened_path)
Method void stream_read ( $count)
Method void stream_seek ( $offset,  $whence)
Method void stream_tell ()
Method void stream_write ( $data)
Variables
string $name = null (line 37)

Buffer name

int $position = 0 (line 31)

Stream position

array $_buffers = array () (line 43)

Buffer hash

Methods
stream_eof (line 75)
void stream_eof ()
stream_open (line 45)
void stream_open ( $path,  $mode,  $options,  &$opened_path)
  • $path
  • $mode
  • $options
  • &$opened_path
stream_read (line 55)
void stream_read ( $count)
  • $count
stream_seek (line 79)
void stream_seek ( $offset,  $whence)
  • $offset
  • $whence
stream_tell (line 71)
void stream_tell ()
stream_write (line 62)
void stream_write ( $data)
  • $data
Support Joomla!