[dev] Implicit Prefs

Oscar Martin osc_pan at hotmail.com
Sat Mar 28 14:47:11 UTC 2009



Chuck Hagenbuch escribió:
> Quoting Oscar Martin :
>
>> I want as following:
>>
>> On sidebar menu option->myapp
>>
>> Show a html table.
>>
>> Each field of table, have a value and it can be configure by user, 
>> suppose:
>>
>> ----|--------|---------|--------
>>       |    2      |     3       | 3
>> ----|--------|---------|--------
>>       |    1      |     5       | 4
>> ----|--------|---------|--------
>>
>> Then I want to store on table 'horde_prefs'  only one entry, for example
>>
>> pref_uid=oscar
>> pref_scope=myapp
>> pref_namedesc
>> pref_value = '2|3|3|1|5|4'
>
> Create a 'special' preference to display the table, and name the .inc 
> file after than. Then when processing that pref, build the string, and 
> set the implicit preference using it 
> ($prefs->setValue('implicit_pref_name, '2|3|3|1|5|4');).
>
> You can look at some of the IMP folder prefs for examples, among other 
> things.
>
> -chuck
>
> -- 
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
> ------------------------------------------------------------------------
>
>
> Se certifico que el correo entrante no contiene virus.
> Comprobada por AVG - www.avg.es 
> Version: 8.5.285 / Base de datos de virus: 270.11.31/2028 - Fecha de la version: 03/28/09 07:16:00
>
>   


Thanks, I'm trying...


_________________________________________________________________
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/


More information about the dev mailing list