Author: as
Date: Wed Jul 4 13:28:24 2007
New Revision: 5686
Log:
- Some more fixes in the IMAP documentation.
Modified:
trunk/Mail/src/transports/imap/imap_set.php
trunk/Mail/src/transports/imap/imap_transport.php
Modified: trunk/Mail/src/transports/imap/imap_set.php
==============================================================================
--- trunk/Mail/src/transports/imap/imap_set.php [iso-8859-1] (original)
+++ trunk/Mail/src/transports/imap/imap_set.php [iso-8859-1] Wed Jul 4
13:28:24 2007
@@ -288,7 +288,7 @@
}
/**
- * Returns message numbers for current set.
+ * Returns message numbers from the current set.
*
* @return array(int)
*/
Modified: trunk/Mail/src/transports/imap/imap_transport.php
==============================================================================
--- trunk/Mail/src/transports/imap/imap_transport.php [iso-8859-1] (original)
+++ trunk/Mail/src/transports/imap/imap_transport.php [iso-8859-1] Wed Jul 4
13:28:24 2007
@@ -39,7 +39,7 @@
* - connect to an IMAP server ([EMAIL PROTECTED] __construct()})
* - authenticate a user with a username and password ([EMAIL PROTECTED]
authenticate()})
* - select a mailbox ([EMAIL PROTECTED] selectMailbox()})
- * - disconnect from an IMAP server ([EMAIL PROTECTED] disconnect()})
+ * - disconnect from the IMAP server ([EMAIL PROTECTED] disconnect()})
*
* Work with mailboxes:
* - get the list of mailboxes of the user ([EMAIL PROTECTED]
listMailboxes()})
@@ -54,7 +54,6 @@
* Work with message numbers (on the currently selected mailbox):
* - get the message numbers and sizes of all the messages ([EMAIL PROTECTED]
listMessages()})
* - get the message numbers and IDs of all the messages ([EMAIL PROTECTED]
listUniqueIdentifiers()})
- * - get the message numbers of a range of sorted messages ([EMAIL PROTECTED]
sortMessages()})
* - get the headers of a certain message ([EMAIL PROTECTED] top()})
* - copy messages to another mailbox ([EMAIL PROTECTED] copyMessages()})
* - delete a message ([EMAIL PROTECTED] delete()} and [EMAIL PROTECTED]
expunge()})
@@ -81,10 +80,10 @@
*
* The usual operation with an IMAP server is illustrated by this example:
* <code>
- * // Create a new IMAP transport object by specifying the server name,
optional port
+ * // create a new IMAP transport object by specifying the server name,
optional port
* // and optional SSL mode
* $imap = new ezcMailImapTransport( 'imap.example.com', null, array( 'ssl' =>
true ) );
- *
+ *
* // Authenticate to the IMAP server
* $imap->authenticate( 'username', 'password' );
*
@@ -275,7 +274,7 @@
/**
* Holds the options for an IMAP transport connection.
- *
+ *
* @var ezcMailImapTransportOptions
*/
private $options;
@@ -301,7 +300,7 @@
*
* @throws ezcMailTransportException
* if it was not possible to connect to the server
- * @throws ezcBaseFeatureNotFoundException
+ * @throws ezcBaseExtensionNotFoundException
* if trying to use SSL and the extension openssl is not installed
* @throws ezcBasePropertyNotFoundException
* if $options contains a property not defined
@@ -655,7 +654,7 @@
$this->connection->sendData( "{$tag} SELECT \"{$mailbox}\"" );
$state = self::STATE_SELECTED;
}
- else
+ else
{
$this->connection->sendData( "{$tag} EXAMINE \"{$mailbox}\"" );
$state = self::STATE_SELECTED_READONLY;
@@ -1138,7 +1137,7 @@
* </code>
*
* @todo add UIVALIDITY value to UID (like in POP3) (if necessary).
- *
+ *
* @throws ezcMailTransportException
* if a mailbox is not selected
* or if the server sent a negative response
@@ -1661,7 +1660,7 @@
* if a mailbox is not selected
* or if the server sent a negative response
* @param array $messages
- * @return array(int=>mixed)
+ * @return array(mixed)
*/
public function fetchFlags( $messages )
{
@@ -1687,7 +1686,7 @@
$flags[intval( $matches[1] )] = $parts;
}
$response = trim( $this->connection->getLine() );
- }
+ }
if ( $this->responseType( $response ) != self::RESPONSE_OK )
{
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components