public function saveFromCache($ID, $Destination)
    {
        /* Get the raw picture from the cache */
        $Picture = $this->getFromCache($ID);

        /* Do we have a hit? */
        if ($Picture == null) {
            return false;
        }

        /* Flush the picture to a file */
        $Handle = fopen($Destination, "w");
        fwrite($Handle, $Picture);
        fclose($Handle);

        /* All went fine */
        return true;
    }
public function saveFromCache($ID, $Destination)
    {
        /* Get the raw picture from the cache */
        $Picture = $this->getFromCache($ID);

        /* Do we have a hit? */
        if ($Picture == null) {
            return false;
        }

        /* Flush the picture to a file */
        $Handle = fopen($Destination, "w");
        fwrite($Handle, $Picture);
        fclose($Handle);

        /* All went fine */
        return true;
    }
public function saveFromCache ( $ ID , $ Destination ) { /* Get the raw picture from the cache */ $ Picture = $ this -> getFromCache ( $ ID ) ; /* Do we have a hit? */ if ( $ Picture == null ) { return false ; } /* Flush the picture to a file */ $ Handle = fopen ( $ Destination , "w" ) ; fwrite ( $ Handle , $ Picture ) ; fclose ( $ Handle ) ; /* All went fine */ return true ; }
Save file from cache.
@param string $ID
@param string $Destination
@return boolean
Save file from cache .