kernel/private/classes/webdav/ezwebdavcontentbackend.php
protected static function tempDirectory()
    {
        $tempDir = eZSys::varDirectory() . '/webdav/tmp';
        if ( !file_exists( $tempDir ) )
        {
            eZDir::mkdir( $tempDir, eZDir::directoryPermission(), true );
        }
        return $tempDir;
    }
protected static function tempDirectory()
    {
        $tempDir = eZSys::varDirectory() . '/webdav/tmp';
        if ( !file_exists( $tempDir ) )
        {
            eZDir::mkdir( $tempDir, eZDir::directoryPermission(), true );
        }
        return $tempDir;
    }
protected static function tempDirectory ( ) { $ tempDir = eZSys :: varDirectory ( ) . '/webdav/tmp' ; if ( ! file_exists ( $ tempDir ) ) { eZDir :: mkdir ( $ tempDir , eZDir :: directoryPermission ( ) , true ) ; } return $ tempDir ; }
Returns the path to the WebDAV temporary directory.

If the directory does not exist yet, it will be created first.

@return string
@todo remove or replace with eZ Components functionality
Returns the path to the WebDAV temporary directory .