note 112281 deleted from ref.imap by danbrown

From: Date: Wed, 05 Jun 2013 17:45:03 +0000
Subject: note 112281 deleted from ref.imap by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-195069@lists.php.net to get a copy of this message
Note Submitter: joanmi -at- bulma (dot) net ---- I found categorization from "v dot 0000000001 dot -0006398047 at vertabiz dot com" really useful, at least for me. May be this small refination could also be useful for any other guy. (you may have to change url...) <h1>PHP Imap functions index</h1> <?php $url0 = "http://docs.php.net/manual/es/function."; $url1 = ".php"; foreach ( array (/*{{{*/ 'CONNECTION, ERRORS & QUOTAS' => array ( array ('imap_timeout', ''), array ('imap_ping', ''), array ('imap_open', ''), array ('imap_reopen', ''), array ('imap_close', ''), array ('imap_check', '**(fairly useless)'), array ('imap_alerts', ''), array ('imap_errors', ''), array ('imap_last_error', ''), array ('imap_get_quota', ''), array ('imap_get_quotaroot', ''), array ('imap_set_quota', ''), ), 'MESSAGES - READING' => array ( array ('imap_uid', ''), array ('imap_msgno', ''), array ('imap_fetchbody', ''), array ('imap_fetchheader', ''), array ('imap_fetchstructure', ''), array ('imap_fetch_overview', ''), array ('imap_body', ''), array ('imap_rfc822_parse_adrlist', ''), array ('imap_rfc822_parse_headers', ''), ), 'MESSAGES - WRITING' => array ( array ('imap_mail_compose', ''), array ('imap_mail', ''), array ('imap_append', ''), array ('imap_rfc822_write_address', ''), ), 'MESSAGES - OPERATIONS' => array ( array ('imap_undelete', ''), array ('imap_thread', ''), array ('imap_delete', ''), array ('imap_mail_copy', ''), array ('imap_mail_move', ''), array ('imap_expunge', ''), array ('imap_clearflag_full', ''), array ('imap_setflag_full', ''), ), 'MESSAGES - DECODE/ENCODE' => array ( array ('imap_utf7_decode', ''), array ('imap_utf7_encode', ''), array ('imap_utf8', ''), array ('imap_8bit', ''), array ('imap_base64', ''), array ('imap_binary', ''), array ('imap_mime_header_decode', ''), array ('imap_qprint', ''), ), 'FOLDERS' => array ( array ('imap_createmailbox', ''), array ('imap_deletemailbox', ''), array ('imap_getmailboxes', ''), array ('imap_mailboxmsginfo', ''), array ('imap_renamemailbox', ''), array ('imap_headers', '**(fairly useless)'), array ('imap_status', ''), array ('imap_sort', ''), array ('imap_search', ''), array ('imap_listscan', ''), ), 'NNTP' => array ( array ('imap_unsubscribe', ''), array ('imap_subscribe', ''), array ('imap_getsubscribed', ''), ), 'Others' => array ( array ('imap_num_msg', 'use imap_mailboxmsginfo()'), array ('imap_num_recent', 'use imap_mailboxmsginfo()'), array ('imap_header', 'alias of imap_headerinfo()'), array ('imap_scanmailbox', 'alias of imap_listscan()'), array ('imap_listsubscribed', 'alias of imap_lsub()'), array ('imap_listmailbox', 'alias of imap_list()'), array ('imap_lsub', 'use imap_getsubscribed()'), array ('imap_list', 'use imap_getmailboxes()'), array ('imap_bodystruct', 'not documented'), array ('imap_getacl', 'not documented'), array ('imap_setacl', 'not documented'), array ('imap_headerinfo', 'use imap_fetch_overview()'), ), )/*}}}*/ as $section => $data ) { ) { echo "<h2>{$section}</h2>\n"; echo "<ul>\n"; foreach ( $data as $item ) { list ($fname, $comments) = $item; $url = $url0 . str_replace ('_', '-', $fname) . $url1; echo "<li><b><a href=\"{$url}\n\">{$fname}:</a></b> {$comments}</li>\n"; } echo "</ul>\n"; };

« previous php.notes (#195069) next »