[horde] $conf
Jan Schneider
jan at horde.org
Wed Feb 7 15:21:45 PST 2007
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/
More information about the horde
mailing list