[phpldapadmin] Template only for attribute
"Yves BLUSSEAU" <[email protected]> Fri, 6 Aug 2010 07:15:32 +0000
| Newsgroups | gmane.comp.ldap.davedap |
|---|---|
| Message-ID | <[email protected]> |
Hi all, i have created a new attribute in a new schema in my ldap server (we are calling it foo). I want to create it like a SelectionAttribute because it can take only a small number of values. In LPA 1.1.x i used hooks/classes to create a new class for my attribute, and i use this config: $config->custom->appearance['attribute_factory'] = "AttributeFooFactory" so my attribute display as a selection field. But in LDAP 1.2.x we can't used 'attribute_factory'. So is it possible to defined an attribute template only like: <attribute id="foo"> <display>A Foo attribute</display> <type>select</type> <value id="choice1">1</value> <value id="choice2">2</value> <value id="choice3">3</value> </attribute> but not in a complete template because i don't want to specify all the optionnal attributes that can be used for one user. Thanks in advance Yves Blusseau ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ______________________________________ phpLDAPadmin development mailing list. To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel http://phpldapadmin.sourceforge.net/