[imp] Summary Call

Chuck Hagenbuch chuck at horde.org
Mon Jan 6 10:29:07 PST 2003


Quoting Derek Martin <derek at younet.okstate.edu>:

> Quick and dirty, I want to call the impSummary() from a new page to
> return Inbox X and that's it...and I wanted to create a brand new file
> that when I open that file all it shows is: Inbox X -- X being the
> number of new messages.
> How would I go about doing that???

Use less punctuation, you're not about to fall off a cliff.

<?php

@define('HORDE_BASE', '/where/horde/is/for/you');
require_once HORDE_BASE . '/lib/base.php';

$registry = &Registry::singleton();
echo $registry->callByPackage('summary', 'imp');

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers


More information about the imp mailing list