[horde] $conf
Kevin Conley
kevinconley at northwestern.edu
Wed Feb 7 15:22:38 PST 2007
Thanks for the tip to the API.
So there is a Prefs() class? Do i have to create an instance of it? Or is an
existing singleton?
Is it abstract or do i have to use one of the four children? And if so, which one?
Any examples would be very helpful as i'm still new at PHP.
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