Changeset 5c461ba in github for program/include/main.inc
- Timestamp:
- Sep 29, 2010 12:47:05 PM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 33da0b4
- Parents:
- c609784
- File:
-
- 1 edited
-
program/include/main.inc (modified) (22 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/include/main.inc
re999919 r5c461ba 152 152 * Garbage collector for cache entries. 153 153 * Remove all expired message cache records 154 * @return void 154 155 */ 155 156 function rcmail_cache_gc() … … 188 189 * @param string Suspected charset of the input string 189 190 * @param string Target charset to convert to; defaults to RCMAIL_CHARSET 190 * @return Converted string191 * @return string Converted string 191 192 */ 192 193 function rcube_charset_convert($str, $from, $to=NULL) … … 323 324 * but we need strict names for charset conversion (specially utf8 class) 324 325 * 325 * @param string Input charset name326 * @return The validated charset name326 * @param string Input charset name 327 * @return string The validated charset name 327 328 */ 328 329 function rcube_parse_charset($input) … … 428 429 * 429 430 * @param string Input string 430 * @return The converted string431 * @return string The converted string 431 432 */ 432 433 function rcube_utf7_to_utf8($str) … … 487 488 * 488 489 * @param string Input string 489 * @return The converted string490 * @return string The converted string 490 491 */ 491 492 function rcube_utf16_to_utf8($str) … … 518 519 * @param string Replace mode for tags: show|replace|remove 519 520 * @param boolean Convert newlines 520 * @return The quoted string521 * @return string The quoted string 521 522 */ 522 523 function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE) … … 1088 1089 * 1089 1090 * @param mixed Debug message or data 1091 * @return void 1090 1092 */ 1091 1093 function console() … … 1122 1124 * @param $name name of log file 1123 1125 * @param line Line to append 1126 * @return void 1124 1127 */ 1125 1128 function write_log($name, $line) … … 1174 1177 /** 1175 1178 * Write login data (name, ID, IP address) to the 'userlogins' log file. 1179 * 1180 * @return void 1176 1181 */ 1177 1182 function rcmail_log_login() … … 1202 1207 /** 1203 1208 * @access private 1209 * @return mixed 1204 1210 */ 1205 1211 function rcube_timer() … … 1211 1217 /** 1212 1218 * @access private 1219 * @return void 1213 1220 */ 1214 1221 function rcube_print_time($timer, $label='Timer', $dest='console') … … 1293 1300 * 1294 1301 * @param array Named parameters 1295 * @return objecthtml_select HTML drop-down object1302 * @return html_select HTML drop-down object 1296 1303 */ 1297 1304 function rcmail_mailbox_select($p = array()) … … 1320 1327 * Create a hierarchical array of the mailbox list 1321 1328 * @access private 1329 * @return void 1322 1330 */ 1323 1331 function rcmail_build_folder_tree(&$arrFolders, $folder, $delm='/', $path='') … … 1355 1363 * Return html for a structured list <ul> for the mailbox tree 1356 1364 * @access private 1365 * @return string 1357 1366 */ 1358 1367 function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, &$jslist, $attrib, $nestLevel=0) … … 1453 1462 * Return html for a flat list <select> for the mailbox tree 1454 1463 * @access private 1464 * @return string 1455 1465 */ 1456 1466 function rcmail_render_folder_tree_select(&$arrFolders, &$mbox_name, $maxlength, &$select, $realnames=false, $nestLevel=0) … … 1486 1496 * Return internal name for the given folder if it matches the configured special folders 1487 1497 * @access private 1498 * @return string 1488 1499 */ 1489 1500 function rcmail_folder_classname($folder_id) … … 1523 1534 * 1524 1535 * @param string Editor mode 1536 * @return void 1525 1537 */ 1526 1538 function rcube_html_editor($mode='') … … 1553 1565 * @param integer HTTPS port number 1554 1566 * @param boolean Enables 'use_https' option checking 1567 * @return boolean 1555 1568 */ 1556 1569 function rcube_https_check($port=null, $use_https=true) … … 1571 1584 1572 1585 1573 // for backward compatibility 1586 /** 1587 * For backward compatibility. 1588 * 1589 * @global rcmail $RCMAIL 1590 * @param string $var_name Variable name. 1591 * @return void 1592 */ 1574 1593 function rcube_sess_unset($var_name=null) 1575 1594 { … … 1580 1599 1581 1600 1582 // Replaces hostname variables 1601 1602 /** 1603 * Replaces hostname variables 1604 * 1605 * @param string $name Hostname 1606 * @return string 1607 */ 1583 1608 function rcube_parse_host($name) 1584 1609 { … … 1599 1624 /** 1600 1625 * E-mail address validation 1626 * 1627 * @param string $email Email address 1628 * @param boolean $dns_check True to check dns 1629 * @return boolean 1601 1630 */ 1602 1631 function check_email($email, $dns_check=true) … … 1724 1753 * 1725 1754 * @param array Named parameters 1755 * @return void 1726 1756 * @see raise_error() 1727 1757 */
Note: See TracChangeset
for help on using the changeset viewer.
