PHP Class Horde_Imap_Client_Socket_Catenate, horde

Copyright 2012 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Datei anzeigen Open project: horde/horde

Protected Properties

Property Type Description
$_socket Horde_Imap_Client_Socket Socket object.

Public Methods

Method Description
__construct ( Horde_Imap_Client_Socket $socket ) Constructor.
fetchFromUrl ( Horde_Imap_Client_Url_Imap $url ) : resource Given an IMAP URL, fetches the corresponding part.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Imap_Client_Socket $socket )
$socket Horde_Imap_Client_Socket Socket object.

fetchFromUrl() public method

Given an IMAP URL, fetches the corresponding part.
public fetchFromUrl ( Horde_Imap_Client_Url_Imap $url ) : resource
$url Horde_Imap_Client_Url_Imap An IMAP URL.
return resource The section contents in a stream. Returns null if the part could not be found.

Property Details

$_socket protected_oe property

Socket object.
protected Horde_Imap_Client_Socket $_socket
return Horde_Imap_Client_Socket