classes/phing/system/util/Properties.php
public function append($key, $value, $delimiter = ',')
    {
        $newValue = $value;
        if (isset($this->properties[$key]) && !empty($this->properties[$key])) {
            $newValue = $this->properties[$key] . $delimiter . $value;
        }
        $this->properties[$key] = $newValue;
    }
public function append($key, $value, $delimiter = ',')
    {
        $newValue = $value;
        if (isset($this->properties[$key]) && !empty($this->properties[$key])) {
            $newValue = $this->properties[$key] . $delimiter . $value;
        }
        $this->properties[$key] = $newValue;
    }
public function append ( $ key , $ value , $ delimiter = ',' ) { $ newValue = $ value ; if ( isset ( $ this -> properties [ $ key ] ) && ! empty ( $ this -> properties [ $ key ] ) ) { $ newValue = $ this -> properties [ $ key ] . $ delimiter . $ value ; } $ this -> properties [ $ key ] = $ newValue ; }
Appends a value to a property if it already exists with a delimiter

If the property does not, it just adds it.

@param string $key
@param mixed $value
@param string $delimiter
Appends a value to a property if it already exists with a delimiter