[imp] Summary Call
Derek Martin
derek at younet.okstate.edu
Mon Jan 6 20:45:17 PST 2003
Hi there, okay, here is the results of my var_dump - all of it!
<?php
@define('HORDE_BASE', '/www/sinapse/tools');
require_once HORDE_BASE . '/lib/base.php';
$registry = &Registry::singleton();
echo $registry->callByPackage('summary', 'imp');
var_dump ($registry);
?>
Was my code and it returned (I hope this is what you wanted!):
Objectobject(registry)(7) { ["registry"]=> array(5) { ["auth"]=>
array(2) { ["login"]=> string(3) "imp" ["logout"]=> string(3) "imp" }
["mail"]=> array(2) { ["compose"]=> string(3) "imp" ["composePopup"]=>
string(3) "imp" } ["contacts"]=> array(4) { ["search"]=> string(5)
"turba" ["add"]=> string(5) "turba" ["sources"]=> string(5) "turba"
["fields"]=> string(5) "turba" } ["memos"]=> array(4) { ["search"]=>
string(5) "mnemo" ["list"]=> string(5) "mnemo" ["show"]=> string(5)
"mnemo" ["add"]=> string(5) "mnemo" } ["tasks"]=> array(4) {
["search"]=> string(3) "nag" ["list"]=> string(3) "nag" ["show"]=>
string(3) "nag" ["add"]=> string(3) "nag" } } ["services"]=> array(6) {
["imp"]=> array(3) { ["auth"]=> array(2) { ["login"]=> array(1) {
["link"]=> string(33) "%application%/login.php?url=|url|" } ["logout"]=>
array(1) { ["link"]=> string(47)
"%application%/login.php?reason=logout&url=|url|" } } ["mail"]=>
array(2) { ["compose"]=> array(2) { ["link"]=> string(25)
"%application%/compose.php" ["includeFile"]=> string(54)
"%application%/templates/javascript/open_compose_win.js" }
["composePopup"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["includeFile"]=> string(54)
"%application%/templates/javascript/open_compose_win.js" ["function"]=>
string(15) "impComposePopup" ["args"]=> array(1) { [0]=> string(7)
"options" } } } ["horde"]=> array(1) { ["summary"]=> array(4) {
["file"]=> string(25) "%application%/lib/api.php" ["function"]=>
string(10) "impSummary" ["args"]=> array(0) { } ["type"]=> string(6)
"string" } } } ["turba"]=> array(1) { ["contacts"]=> array(4) {
["search"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["function"]=> string(20)
"turbaExpandAddresses" ["args"]=> array(3) { [0]=> string(9) "addresses"
[1]=> string(12) "addressbooks" [2]=> string(6) "fields" } ["type"]=>
string(5) "array" } ["add"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["function"]=> string(15) "turbaAddAddress"
["args"]=> array(3) { [0]=> string(4) "name" [1]=> string(7) "address"
[2]=> string(11) "addressbook" } ["type"]=> string(7) "boolean" }
["sources"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["function"]=> string(15) "turbaGetSources"
["args"]=> array(1) { [0]=> string(9) "writeable" } ["type"]=> string(5)
"array" } ["fields"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["function"]=> string(14) "turbaGetFields"
["args"]=> array(1) { [0]=> string(11) "addressbook" } ["type"]=>
string(5) "array" } } } ["kronolith"]=> array(1) { ["horde"]=> array(1)
{ ["summary"]=> array(4) { ["file"]=> string(25)
"%application%/lib/api.php" ["function"]=> string(16) "kronolithSummary"
["args"]=> array(0) { } ["type"]=> string(6) "string" } } } ["mnemo"]=>
array(2) { ["memos"]=> array(4) { ["list"]=> array(4) { ["file"]=>
string(25) "%application%/lib/api.php" ["function"]=> string(14)
"mnemoListMemos" ["args"]=> array(2) { [0]=> string(6) "sortby" [1]=>
string(7) "sortdir" } ["type"]=> string(5) "array" } ["search"]=>
array(1) { ["link"]=> string(24) "%application%/search.php" } ["show"]=>
array(1) { ["link"]=> string(34) "%application%/view.php?memo=|memo|" }
["add"]=> array(4) { ["file"]=> string(25) "%application%/lib/api.php"
["function"]=> string(12) "mnemoAddMemo" ["args"]=> array(2) { [0]=>
string(4) "body" [1]=> string(8) "category" } ["type"]=> string(7)
"integer" } } ["horde"]=> array(1) { ["summary"]=> array(4) { ["file"]=>
string(25) "%application%/lib/api.php" ["function"]=> string(12)
"mnemoSummary" ["args"]=> array(0) { } ["type"]=> string(6) "string" } }
} ["nag"]=> array(2) { ["tasks"]=> array(4) { ["list"]=> array(4) {
["file"]=> string(25) "%application%/lib/api.php" ["function"]=>
string(12) "nagListTasks" ["args"]=> array(2) { [0]=> string(6) "sortby"
[1]=> string(7) "sortdir" } ["type"]=> string(5) "array" } ["search"]=>
array(1) { ["link"]=> string(24) "%application%/search.php" } ["show"]=>
array(1) { ["link"]=> string(34) "%application%/view.php?task=|task|" }
["add"]=> array(4) { ["file"]=> string(25) "%application%/lib/api.php"
["function"]=> string(10) "nagAddTask" ["args"]=> array(3) { [0]=>
string(4) "name" [1]=> string(11) "description" [2]=> string(3) "due" }
["type"]=> string(7) "integer" } } ["horde"]=> array(1) { ["summary"]=>
array(4) { ["file"]=> string(25) "%application%/lib/api.php"
["function"]=> string(10) "nagSummary" ["args"]=> array(0) { }
["type"]=> string(6) "string" } } } ["default"]=> array(1) { ["mail"]=>
array(1) { ["compose"]=> array(1) { ["link"]=> string(11) "mailto:%to%"
} } } } ["applications"]=> array(6) { ["horde"]=> &array(13) {
["fileroot"]=> string(28) "/www/sinapse/tools/config/.." ["webroot"]=>
string(6) "/tools" ["initial_page"]=> string(9) "login.php" ["icon"]=>
string(24) "/tools/graphics/home.gif" ["name"]=> string(8) "My Tools"
["allow_guests"]=> bool(true) ["show"]=> bool(true) ["templates"]=>
string(38) "/www/sinapse/tools/config/../templates" ["cookie_domain"]=>
string(20) "omni.you.okstate.edu" ["cookie_path"]=> string(6) "/tools"
["server_name"]=> string(20) "omni.you.okstate.edu" ["server_port"]=>
string(2) "80" ["graphics"]=> string(15) "/tools/graphics" } ["imp"]=>
&array(8) { ["fileroot"]=> string(34)
"/www/sinapse/tools/config/../email" ["webroot"]=> string(12)
"/tools/email" ["icon"]=> string(29) "/tools/email/graphics/imp.gif"
["name"]=> string(5) "Email" ["allow_guests"]=> bool(false) ["show"]=>
bool(true) ["templates"]=> string(44)
"/www/sinapse/tools/config/../email/templates" ["graphics"]=> string(21)
"/tools/email/graphics" } ["turba"]=> &array(8) { ["fileroot"]=>
string(36) "/www/sinapse/tools/config/../address" ["webroot"]=>
string(14) "/tools/address" ["icon"]=> string(33)
"/tools/address/graphics/turba.gif" ["name"]=> string(11) "Addressbook"
["allow_guests"]=> bool(false) ["show"]=> bool(true) ["templates"]=>
string(46) "/www/sinapse/tools/config/../address/templates"
["graphics"]=> string(23) "/tools/address/graphics" } ["kronolith"]=>
&array(8) { ["fileroot"]=> string(37)
"/www/sinapse/tools/config/../calendar" ["webroot"]=> string(15)
"/tools/calendar" ["icon"]=> string(38)
"/tools/calendar/graphics/kronolith.gif" ["name"]=> string(8) "Calendar"
["allow_guests"]=> bool(false) ["show"]=> bool(true) ["templates"]=>
string(47) "/www/sinapse/tools/config/../calendar/templates"
["graphics"]=> string(24) "/tools/calendar/graphics" } ["mnemo"]=>
&array(8) { ["fileroot"]=> string(34)
"/www/sinapse/tools/config/../notes" ["webroot"]=> string(12)
"/tools/notes" ["icon"]=> string(31) "/tools/notes/graphics/mnemo.gif"
["name"]=> string(5) "Notes" ["allow_guests"]=> bool(false) ["show"]=>
bool(true) ["templates"]=> string(44)
"/www/sinapse/tools/config/../notes/templates" ["graphics"]=> string(21)
"/tools/notes/graphics" } ["nag"]=> array(8) { ["fileroot"]=> string(34)
"/www/sinapse/tools/config/../tasks" ["webroot"]=> string(12)
"/tools/tasks" ["icon"]=> string(29) "/tools/tasks/graphics/nag.gif"
["name"]=> string(5) "Tasks" ["allow_guests"]=> bool(false) ["show"]=>
bool(true) ["templates"]=> string(44)
"/www/sinapse/tools/config/../tasks/templates" ["graphics"]=> string(21)
"/tools/tasks/graphics" } } ["appStack"]=> array(1) { [0]=> string(5)
"horde" } ["prefsCache"]=> array(1) { ["horde"]=> &object(prefs_sql)(8)
{ ["prefs"]=> array(13) { ["language"]=> array(2) { ["val"]=> string(0)
"" ["mask"]=> int(10) } ["summary_refresh_time"]=> array(2) { ["val"]=>
int(300) ["mask"]=> int(8) } ["default_identity"]=> array(2) { ["val"]=>
int(0) ["mask"]=> int(10) } ["identities"]=> array(2) { ["val"]=>
string(6) "a:0:{}" ["mask"]=> int(10) } ["signature"]=> array(2) {
["val"]=> string(0) "" ["mask"]=> int(10) } ["sig_dashes"]=> array(2) {
["val"]=> int(0) ["mask"]=> int(10) } ["sig_first"]=> array(2) {
["val"]=> int(0) ["mask"]=> int(10) } ["fullname"]=> array(2) {
["val"]=> string(0) "" ["mask"]=> int(10) } ["from_addr"]=> array(2) {
["val"]=> string(0) "" ["mask"]=> int(10) } ["replyto_addr"]=> array(2)
{ ["val"]=> string(0) "" ["mask"]=> int(10) } ["save_sent_mail"]=>
array(2) { ["val"]=> int(1) ["mask"]=> int(10) } ["sent_mail_folder"]=>
array(2) { ["val"]=> string(9) "sent-mail" ["mask"]=> int(10) }
["timezone"]=> array(2) { ["val"]=> string(0) "" ["mask"]=> int(10) } }
["scope"]=> string(5) "horde" ["user"]=> string(19)
"dmj2195 at okstate.edu" ["caching"]=> bool(true) ["defaults"]=> array(1) {
["/www/sinapse/tools/config/../config/prefs.php"]=> bool(true) }
["params"]=> array(6) { ["phptype"]=> string(5) "pgsql" ["hostspec"]=>
string(9) "localhost" ["username"]=> string(5) "horde" ["password"]=>
string(5) "bubba" ["database"]=> string(5) "horde" ["table"]=>
string(11) "horde_prefs" } ["db"]=> NULL ["_connected"]=> bool(false) }
} ["confCache"]=> array(1) { ["horde"]=> &array(16) { ["debug_level"]=>
string(28) "E_CORE_ERROR|E_ERROR|E_PARSE" ["max_exec_time"]=> int(0)
["session_name"]=> string(5) "Tools" ["use_ssl"]=> int(2)
["compress_pages"]=> bool(true) ["umask"]=> int(63) ["tmpdir"]=> NULL
["auth"]=> array(2) { ["driver"]=> string(0) "" ["params"]=> array(0) {
} } ["log"]=> array(6) { ["enabled"]=> bool(true) ["type"]=> string(4)
"file" ["name"]=> string(14) "/tmp/horde.log" ["priority"]=> int(5)
["ident"]=> string(5) "HORDE" ["params"]=> array(0) { } } ["prefs"]=>
array(2) { ["driver"]=> string(3) "sql" ["params"]=> array(6) {
["phptype"]=> string(5) "pgsql" ["hostspec"]=> string(9) "localhost"
["username"]=> string(5) "horde" ["password"]=> string(5) "bubba"
["database"]=> string(5) "horde" ["table"]=> string(11) "horde_prefs" }
} ["cache"]=> array(2) { ["driver"]=> string(4) "none" ["params"]=>
array(0) { } } ["mailer"]=> array(2) { ["type"]=> string(4) "smtp"
["params"]=> array(1) { ["host"]=> string(17) "email.okstate.edu" } }
["problems"]=> array(2) { ["enabled"]=> bool(true) ["email"]=>
string(23) "help at younet.okstate.edu" } ["user"]=> array(1) {
["online_help"]=> bool(true) } ["css"]=> array(1) { ["cached"]=>
bool(true) } ["menu"]=> array(2) { ["images"]=> bool(true)
["floating_bar"]=> bool(false) } } } ["used"]=> NULL }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4369 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20030106/14ef2799/smime.bin
More information about the imp
mailing list