classes/phing/tasks/ext/ExportPropertiesTask.php
public function setTargetFile($file)
    {
        if (!is_dir(dirname($file))) {
            throw new BuildException("Parent directory of target file doesn't exist");
        }

        if (!is_writable(dirname($file)) && (file_exists($file) && !is_writable($file))) {
            throw new BuildException("Target file isn't writable");
        }

        $this->_targetFile = $file;

        return true;
    }
public function setTargetFile($file)
    {
        if (!is_dir(dirname($file))) {
            throw new BuildException("Parent directory of target file doesn't exist");
        }

        if (!is_writable(dirname($file)) && (file_exists($file) && !is_writable($file))) {
            throw new BuildException("Target file isn't writable");
        }

        $this->_targetFile = $file;

        return true;
    }
public function setTargetFile ( $ file ) { if ( ! is_dir ( dirname ( $ file ) ) ) { throw new BuildException ( "Parent directory of target file doesn't exist" ) ; } if ( ! is_writable ( dirname ( $ file ) ) && ( file_exists ( $ file ) && ! is_writable ( $ file ) ) ) { throw new BuildException ( "Target file isn't writable" ) ; } $ this -> _targetFile = $ file ; return true ; }
setter for _targetFile

@param  string $file
@throws BuildException
@return bool
setter for _targetFile