Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Gdata_MimeBodyString Class Reference

Public Member Functions

 __construct ($sourceString)
 Create a new MimeBodyString object.
 
 read ($bytesRequested)
 Read the next chunk of the string.
 
 getSize ()
 The length of the string.
 

Protected Attributes

 $_sourceString = ''
 
 $_bytesRead = 0
 

Constructor & Destructor Documentation

__construct (   $sourceString)

Create a new MimeBodyString object.

Parameters
string$sourceStringThe string we are wrapping.

Member Function Documentation

getSize ( )

The length of the string.

Returns
int The length of the string contained in the object.
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.

Member Data Documentation

$_bytesRead = 0
protected
$_sourceString = ''
protected