The values given will be added to the values which already exist for the given attributes. usage: $entry->add ( array('sn'=>'huse',objectclass=>array(top,posixAccount)))
returns an assosiative array of all the attributes in the array
attributes - returns an assosiative array of all the attributes in the array of the form array ('attributename'=>'singelvalue' , 'attribute'=>array('multiple','values'))
returns either an array or a string possible values for option: alloptions - returns an array with the values + a countfield. i.e.: array (count=>1, 'sn'=>'huse'); single - returns the, first value in the array as a string.
this function tries to do all the things that replace(),delete() and add() does on an object. Syntax: array ( 'attribute' => newval, 'delattribute' => '', newattrivute => newval); Note: You cannot use this function to modify parts of an attribute. You must modify the whole attribute. You may call the function many times before running $entry->update();