note 112281 added to ref.imap
| From: | (dot) | Date: | Mon, 27 May 2013 11:47:34 +0000 |
| Subject: | note 112281 added to ref.imap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194965@lists.php.net to get a copy of this message | ||
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";
};
----
Server IP: 92.48.119.85
Probable Submitter: 195.55.69.180
----
Manual Page -- http://php.net/manual/en/ref.imap.php
Edit -- https://master.php.net/note/edit/112281
Del: integrated -- https://master.php.net/note/delete/112281/integrated
Del: useless -- https://master.php.net/note/delete/112281/useless
Del: bad code -- https://master.php.net/note/delete/112281/bad+code
Del: spam -- https://master.php.net/note/delete/112281/spam
Del: non-english -- https://master.php.net/note/delete/112281/non-english
Del: in docs -- https://master.php.net/note/delete/112281/in+docs
Del: other reasons-- https://master.php.net/note/delete/112281
Reject -- https://master.php.net/note/reject/112281
Search -- https://master.php.net/manage/user-notes.php