aus "sundawn.net"

ZAPSupport-Developers: ZAPList

Format: function ZAPlist($field, $value)

Explanation: This function handles basic list management in ZAP. $value is a CSV list of values.

1) First, the function checks to see if names are being added/dropped (+/-). If it is, it retrieves the corresponding value of $field from the current datapage.

2) Next it works through the CSV array, and one at a time either adds or deletes the specified $fields.

If $value does not begin with a +/-, the entire list is replaced by the contents of $value.

A fairly simple function, but it works well!

URL: https://www.sundawn.net/ZAPSupport-Developers/ZAPList
Zuletzt geändert am 16.03.2007 04:25 Uhr