Moodle  2.2.1
http://www.collinsharper.com
Zend_Gdata_MimeBodyString Class Reference

Public Member Functions

 __construct ($sourceString)
 read ($bytesRequested)
 getSize ()

Protected Attributes

 $_sourceString = ''
 $_bytesRead = 0

Detailed Description

Definition at line 33 of file MimeBodyString.php.


Constructor & Destructor Documentation

__construct ( sourceString)

Create a new MimeBodyString object.

Parameters:
string$sourceStringThe string we are wrapping.

Definition at line 54 of file MimeBodyString.php.


Member Function Documentation

getSize ( )

The length of the string.

Returns:
int The length of the string contained in the object.

Definition at line 86 of file MimeBodyString.php.

read ( bytesRequested)

Read the next chunk of the string.

Parameters:
integer$bytesRequestedThe size of the chunk that is to be read.
Returns:
string A corresponding piece of the string.

Definition at line 66 of file MimeBodyString.php.


Field Documentation

$_bytesRead = 0 [protected]

Definition at line 47 of file MimeBodyString.php.

$_sourceString = '' [protected]

Definition at line 41 of file MimeBodyString.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations