[dev] Implicit Prefs
    Chuck Hagenbuch 
    chuck at horde.org
       
    Sat Mar 28 13:59:55 UTC 2009
    
    
  
Quoting Oscar Martin <osc_pan at hotmail.com>:
> I need to store some options like a row table values, separates width "|"
>
> for that, I create implicit value:
>
> $prefGroups['desc'] = array(
>     'column' => _("Desc Services"),
>     'label' => _("Desc Services"),
>     'desc' => _("Change your Desc Services settings."),
>     'members' => array('descmanagement')
> );
>
> $_prefs['desc'] = array(
>     'value' => '1|2|3|4|5',
>     'locked' => false,
>     'shared' => false,
>     'type' => 'implicit',
> );
>
> $_prefs['descmanagement'] = array('type' => 'special');
>
> The problem is that I cant't read and write it to database.
Well... why not? What happens or doesn't, what errors do you get, etc.?
-chuck
    
    
More information about the dev
mailing list