/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 Mon, 13 Jan 2020 04:22:30 +0100 by phpDocumentor 1.4.3