protected function _file_put_contents($file, $data, $flags = 0, $context = null)
    {
        if ($this->isVirtual) {
            $file = $this->_prepareForVfs($file);
        }

        // return the result of operation (virtual or real)
        return file_put_contents($file, $data, $flags, $context);
    }
protected function _file_put_contents($file, $data, $flags = 0, $context = null)
    {
        if ($this->isVirtual) {
            $file = $this->_prepareForVfs($file);
        }

        // return the result of operation (virtual or real)
        return file_put_contents($file, $data, $flags, $context);
    }
protected function _file_put_contents ( $ file , $ data , $ flags = 0 , $ context = null ) { if ( $ this -> isVirtual ) { $ file = $ this -> _prepareForVfs ( $ file ) ; } // return the result of operation (virtual or real) return file_put_contents ( $ file , $ data , $ flags , $ context ) ; }
file_put_contents - virtual-fs supporting wrapper

This method is intend to work as file_put_contents - virtual-fs supporting wrapper

@param string $file    Path to the file where to write the data.
@param mixed  $data    The data to write. Can be either a string, an array or a stream resource
@param int    $flags   The value of flags can be any combination joined with the binary OR (|) operator
@param mixed  $context A valid context resource created with stream_context_create()

@author Benjamin Carl <opensource@clickalicious.de>
@return mixed The function returns the number of bytes that were written to the file, or FALSE on failure
@access protected
@link   http://de.php.net/manual/en/function.file-put-contents.php
file_put_contents - virtual - fs supporting wrapper