classes/phing/system/io/PhingFile.php
public function mkdir($mode = 0755)
    {
        $fs = FileSystem::getFileSystem();

        if ($fs->checkAccess(new PhingFile($this->path), true) !== true) {
            throw new IOException("No write access to " . $this->getPath());
        }

        return $fs->createDirectory($this, $mode);
    }
public function mkdir($mode = 0755)
    {
        $fs = FileSystem::getFileSystem();

        if ($fs->checkAccess(new PhingFile($this->path), true) !== true) {
            throw new IOException("No write access to " . $this->getPath());
        }

        return $fs->createDirectory($this, $mode);
    }
public function mkdir ( $ mode = 0755 ) { $ fs = FileSystem :: getFileSystem ( ) ; if ( $ fs -> checkAccess ( new PhingFile ( $ this -> path ) , true ) !== true ) { throw new IOException ( "No write access to " . $ this -> getPath ( ) ) ; } return $ fs -> createDirectory ( $ this , $ mode ) ; }
Creates the directory named by this abstract pathname.

@param  int $mode
@throws IOException
@return boolean     true if and only if the directory was created; false otherwise
Creates the directory named by this abstract pathname .