PHP Class Horde_Smtp_Connection, horde

NOTE: This class is NOT intended to be accessed outside of the package. There is NO guarantees that the API of this class will not change across versions.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde\Socket\Client
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
read ( integer $size = null ) : string Read data from incoming stream.
write ( mixed $data, mixed $size = null ) Writes data to the output stream.

Protected Methods

Method Description
_write ( string $data ) Writes data to the output stream.

Method Details

_write() protected method

Writes data to the output stream.
protected _write ( string $data )
$data string String data.

read() public method

Read data from incoming stream.
public read ( integer $size = null ) : string
$size integer UNUSED: The number of bytes to read from the socket.
return string Line of data.

write() public method

Writes data to the output stream.
public write ( mixed $data, mixed $size = null )
$data mixed String data (or array of string data), or a resource.
$size mixed If set, the maximum number of octets to send.