Add IMP_Imap_Tree_Element::.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 11 Aug 2010 18:37:53 +0000 (12:37 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 17 Aug 2010 04:23:55 +0000 (22:23 -0600)
commitbd0035ec69fbc02d17a379ad01cb943fcd74795d
tree013c4b4c2e164ea50218f1613a664470225cd647
parent757315ca5b879a06cf3467e15f515e1deb87fbe8
Add IMP_Imap_Tree_Element::.

Since we don't need all information every time we access mailbox element
information, this adds substantial overhead.  Instead, convert the
return from IMP_Imap_Tree#element() to a IMP_Imap_Tree_Element object
which does most of the necessary overhead only when the data is actually
accessed.

Clean up some things while doing this.  Namely, IMP_Imap_Tree#build()
is essentially duplicative of the more flexible
IMP_Imap_Tree#listFolders() so ax the former.
imp/folders-mimp.php
imp/folders.php
imp/lib/Ajax/Application.php
imp/lib/Block/tree_folders.php
imp/lib/Folder.php
imp/lib/Imap/Tree.php
imp/lib/Imap/Tree/Element.php [new file with mode: 0644]
imp/lib/Ui/Folder.php
imp/search.php