FusionDirectory
 All Data Structures Files Functions Variables
ObjectSelectAttribute Class Reference

This class allows to handle a select attribute which allow to choose an object. More...

Inheritance diagram for ObjectSelectAttribute:
Inheritance graph
[legend]

Additional Inherited Members

- Public Member Functions inherited from SelectAttribute
 __construct ($label, $description, $ldapName, $required=FALSE, $choices=array(), $defaultValue="", $outputs=NULL, $acl="")
 The constructor of SelectAttribute. More...
 
 setChoices ($choices, $outputs=NULL)
 Set the options of the select attribute. More...
 
 setDisplayChoices ($values)
 Set the display options of the select attribute. More...
 
 getChoices ()
 Get the choices.
 
 getDisplayChoices ()
 Get the displayed choices (keys are choices)
 
 setSize ($size)
 Set the size of the HTML input tag, useful to display several options on the screen instead of just one.
 
- Public Member Functions inherited from Attribute
 __construct ($label, $description, $ldapName, $required=FALSE, $defaultValue="", $acl="")
 The constructor of Attribute. More...
 
 setParent (&$plugin)
 Set the parent plugin for this attribute. More...
 
 setPostValue ($value)
 Set the postValue.
 
 fixPostValue ($value)
 In case a treatment is needed on POST content.
 
 resetToDefault ()
 Reset this attribute to its default value.
 
 loadValue ($attrs)
 If in LDAP, loads this attribute value from the attrs array.
 
 inputValue ($ldapValue)
 Return the ldap value in the correct intern format value. More...
 
 setManagedAttributes ($mAttributes)
 Set a list of attributes that are managed by this attributes. See FusionDirectory wiki for detailed documentation.
 
 loadPostValue ()
 Update this attributes postValue depending of the $_POST values.
 
 applyPostValue ()
 Apply this attribute postValue in value if this attribute is enabled.
 
 computeLdapValue ()
 Computes LDAP value.
 
 fillLdapValue (&$attrs)
 Fill LDAP value in the attrs array.
 
 fillLdapValueHook (&$attrs)
 Post-modify the attrs array if needed (used for erasing managed attributes)
 
 check ()
 Check the correctness of this attribute.
 
 renderAttribute (&$attributes, $readOnly)
 Render this attribute form input(s) More...
 
 serializeAttribute (&$attributes, $form=TRUE)
 Serialize this attribute for RPC requests. More...
 
 deserializeValue ($values)
 Apply value from RPC requests. More...
 
 renderAcl ($display)
 Add ACL information around display. More...
 
 getAclInfo ()
 Get ACL information about the ACL we need to create.
 
- Protected Member Functions inherited from Attribute
 loadAttrValue ($attrs)
 Loads this attribute value from the attrs array.
 

Detailed Description

This class allows to handle a select attribute which allow to choose an object.

Definition at line 210 of file class_SelectAttribute.inc.


The documentation for this class was generated from the following file: