public function setTarget($value)
    {
        if (in_array($value, $this->possibleTargets)) {
            $this->_target = $value;
        } else {
            throw new Exception('Unknown deletion target ' . $value);
        }
    }
public function setTarget($value)
    {
        if (in_array($value, $this->possibleTargets)) {
            $this->_target = $value;
        } else {
            throw new Exception('Unknown deletion target ' . $value);
        }
    }
public function setTarget ( $ value ) { if ( in_array ( $ value , $ this -> possibleTargets ) ) { $ this -> _target = $ value ; } else { throw new Exception ( 'Unknown deletion target ' . $ value ) ; } }
Set target.

@param [[@doctodo param_type:value]] $value [[@doctodo param_description:value]]

@throws Exception [[@doctodo exception_description:Exception]]
Set target .