[imp] imp folders/caching
Marko Djukic
mdjukic at horde.org
Wed Sep 29 00:32:19 PDT 2004
Quoting Michael M Slusarz <slusarz at mail.curecanti.org>:
> Incorrect. This should be called when the Tree is initialized. Make
> sure it is
> in the correct format -> the IMP expanded_folders pref is a serialized array
> consisting of the mailbox name to expand as the key and '1' as the value.
>
> i.e. $expanded_folders = serialize(array('INBOX' => 1, 'INBOX.foo' => 1));
Ok, was getting the format wrong. However, I'm getting some strange results now:
a:1:{s:5:"INBOX";i:1;} - will not expand INBOX, does not seem to do anything.
a:1:{s:6:"INBOX.";i:1;} - will expand INBOX.
a:1:{s:9:"INBOX.foo";i:1;} - will also expand INBOX and show all subfolders,
even when INBOX/foo folder does not exist.
a:1:{s:9:"INBOX.bar";i:1;} - will expand INBOX but the existing INBOX/bar folder
will remain collapsed.
m.
--
Marko Djukic
Horde Project (http://horde.org)
More information about the imp
mailing list