File/plugins/folder_sizes/functions.php

Description

Folder Sizes plugin functions

Copyright (c) 2006 The SquirrelMail Project Team Copyright (c) 2007 The NaSMail Project Function dependencies: sqimap_status_messages() sqimap_get_small_header_list()

  • version: $Id: functions.php 980 2007-11-03 11:43:16Z tokul $
Functions
folder_sizes_add_totals (line 196)

Sub to add the totals and subtotals for the passed depth.

If Depth is zero, this is the grand total and should be in bold.

void folder_sizes_add_totals (int $from_depth, int $to_depth)
  • int $from_depth
  • int $to_depth
folder_sizes_folders_page_do (line 45)

internal function to add block to folders page

void folder_sizes_folders_page_do ()
folder_sizes_link_do (line 21)

These next two (folder_sizes_link and folder_sizes_folders_page) are called to either show a link to our standalone page (folder_sizes.php) or to output the folder size details (from the bottom of the Folders page via it's hook.

void folder_sizes_link_do ()
folder_sizes_list (line 235)

Main functon for calculating and outputting folder list.

void folder_sizes_list ()
folder_sizes_optpage_do (line 66)

Adds options to folder preferences

void folder_sizes_optpage_do ()
folder_sizes_pref_do (line 55)
void folder_sizes_pref_do ()
get_folder_size (line 114)
void get_folder_size ( $imapConnection,  $mailbox)
  • $imapConnection
  • $mailbox

Documentation generated on Sun, 22 Nov 2009 17:36:31 +0200 by phpDocumentor 1.4.3