classes/phing/tasks/ext/inifile/IniFileTask.php
public function checkWriteFile($writeFile)
    {
        if (file_exists($writeFile) && !is_writable($writeFile)) {
            $msg = "$writeFile is not writable";
            if ($this->haltonerror) {
                throw new BuildException($msg);
            }
            $this->log($msg, Project::MSG_ERR);
            return false;
        }
        return true;
    }
public function checkWriteFile($writeFile)
    {
        if (file_exists($writeFile) && !is_writable($writeFile)) {
            $msg = "$writeFile is not writable";
            if ($this->haltonerror) {
                throw new BuildException($msg);
            }
            $this->log($msg, Project::MSG_ERR);
            return false;
        }
        return true;
    }
public function checkWriteFile ( $ writeFile ) { if ( file_exists ( $ writeFile ) && ! is_writable ( $ writeFile ) ) { $ msg = "$writeFile is not writable" ; if ( $ this -> haltonerror ) { throw new BuildException ( $ msg ) ; } $ this -> log ( $ msg , Project :: MSG_ERR ) ; return false ; } return true ; }
Check file to write to

@param string $writeFile Filename

@return bool
Check file to write to