kernel/private/classes/clusterfilehandlers/ezdfsfilehandler.php
public function fileStore( $filePath, $scope = false, $delete = false, $datatype = false )
    {
        $filePath = self::cleanPath( $filePath );
        eZDebugSetting::writeDebug( 'kernel-clustering', "dfs::fileStore( '$filePath' )" );

        if ( $scope === false )
            $scope = 'UNKNOWN_SCOPE';

        if ( $datatype === false )
            $datatype = 'misc';

        self::$dbbackend->_store( $filePath, $datatype, $scope );

        if ( $delete )
            @unlink( $filePath );
    }
public function fileStore( $filePath, $scope = false, $delete = false, $datatype = false )
    {
        $filePath = self::cleanPath( $filePath );
        eZDebugSetting::writeDebug( 'kernel-clustering', "dfs::fileStore( '$filePath' )" );

        if ( $scope === false )
            $scope = 'UNKNOWN_SCOPE';

        if ( $datatype === false )
            $datatype = 'misc';

        self::$dbbackend->_store( $filePath, $datatype, $scope );

        if ( $delete )
            @unlink( $filePath );
    }
public function fileStore ( $ filePath , $ scope = false , $ delete = false , $ datatype = false ) { $ filePath = self :: cleanPath ( $ filePath ) ; eZDebugSetting :: writeDebug ( 'kernel-clustering' , "dfs::fileStore( '$filePath' )" ) ; if ( $ scope === false ) $ scope = 'UNKNOWN_SCOPE' ; if ( $ datatype === false ) $ datatype = 'misc' ; self :: $ dbbackend -> _store ( $ filePath , $ datatype , $ scope ) ; if ( $ delete ) @ unlink ( $ filePath ) ; }
Stores a file by path to the backend

@param string $filePath Path to the file being stored.
@param string $scope    Means something like "file category". May be used
to clean caches of a certain type.
@param bool   $delete   true if the file should be deleted after storing.
@param string $datatype

@return void
Stores a file by path to the backend