[horde] $conf

Kevin Conley kevinconley at northwestern.edu
Thu Feb 8 10:11:41 PST 2007


Ok i understand that the horde $conf values are in the $GLOBALS and that you 
must use the $GLOBAL pref object to get and set the prefs. But, are all apps in 
there or just the HORDE app?

For example, do the IMP and TURBA have a different named GLOBAL or prefs object?

Jan Schneider wrote:
> http://dev.horde.org/api/framework/Horde_Prefs/Prefs.html
> 
> Zitat von Kevin Conley <kevinconley at northwestern.edu>:
> 
>> Thanks!
>>
>> However, the structure of the $GLOBAL['prefs'] array is driving me crazy.
>>
>> What is the syntax to get at the prefs defined in horde/config/prefs.php?
>>
>> For example, i want to change the fullname pref which is set in the 
>> prefs.php to
>>
>> $_prefs['fullname']
>>
>> I can't figure out how to get at this via the global 'prefs' array. 
>> Should it be something like:
>>
>> $GLOBAL['prefs']['_prefs']['fullname']
>>
>> ?
>>
>> Jan Schneider wrote:
>>> Zitat von Kevin Conley <kevinconley at northwestern.edu>:
>>>
>>>> Ok, thanks!
>>>>
>>>> Just a quick follow up...
>>>>
>>>> Where how would i declare/where would i stick global variables that 
>>>> i want just for the session?
>>>>
>>>> For example, the post/preauth hooks are getting called twice - so 
>>>> want a hookFlag that i can check before each invocation to make sure 
>>>> i'm not calling it more than once.
>>>
>>> Once per session: http://www.php.net/session
>>> Once per request: http://www.php.net/static
>>>
>>> Jan.
>>>
>>> --Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>> --Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>>
>>
>> --Kevin Conley
>> Technology Support Services
>> Northwestern University
>> 847-491-4086
>> --Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
> 
> 
> 
> Jan.
> 
> --Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
> 
> --Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
> 
> 

-- 
Kevin Conley	
Technology Support Services
Northwestern University
847-491-4086



More information about the horde mailing list