/templates/util_left_main.php

Description

util_left_main.php

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

Functions
getBoxStructure (line 51)

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

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

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

  • since: 1.5.2
  • author: Steve Brown
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 Sat, 07 Oct 2006 16:14:04 +0300 by phpDocumentor 1.3.0RC6