/functions/template/folder_list_util.php

Description

folder_list_util.php

Provides some functions for use in left_main.php and templates. Do not echo output from these functions!

Functions
getBoxStructure (line 56)

Recursively iterates a mailboxes object to build a data structure that is easy for template authors to work with.

  • author: Steve Brown
  • since: 1.5.2
void getBoxStructure (object $boxes)
  • object $boxes: Object of the class mailboxes
getMessageCount (line 25)

Recursively iterates a mailboxes object to get the cummulative count of messages for all folderes below the current mailbox.

  • author: Steve Brown
  • since: 1.5.2
void getMessageCount (object $boxes, [string $type = 'total'])
  • object $boxes: Object of the class mailboxes
  • string $type: Whether to fetch unseen only or all messages

Documentation generated on Tue, 16 Sep 2014 04:17:56 +0200 by phpDocumentor 1.4.3