Index: openacs-4/packages/ams/www/doc/index.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ams/www/doc/index.html,v diff -u -r1.3 -r1.4 --- openacs-4/packages/ams/www/doc/index.html 24 Oct 2004 23:17:27 -0000 1.3 +++ openacs-4/packages/ams/www/doc/index.html 25 Oct 2004 00:10:43 -0000 1.4 @@ -116,10 +116,10 @@

AMS and your package's UI

-

to display attributes you can call ams::object::attribute::values to get the results back as upvared variables, as an array or as a list however you want. So, if on the contact-view page you do, for example +

to display attributes you can call ams::object::attribute::values to get the results back as upvared variables, as an array or as a list however you want. So, if on the contact-view page you do, for example to get an array with all attribute_values that are not null represented in.

-ams::object::attribute::values -array "contact_info" -
+ams::object::attribute::values -array "contact_info" -object_id $ct_contact_id
 

To add ams_attribute_values to a multirow you call ams::multirow::extend to efficiently extend your multirow with ams_attribute_values. For example: