api.zedseries.com
[ class tree: Download ] [ index: Download ] [ all elements ]

Class: ZedSeriesDownload

Source Location: /ZedSeriesDownload.php

Class ZedSeriesDownload

Class Overview

Class ZedSeriesDownload

a simple class to serve file

Located in /ZedSeriesDownload.php [line 25]



		
				Author(s):
		
		
		
Information Tags:
Copyright:  Angelo Galleja 2008,2009,2010

Methods

[ Top ]
Method Summary
ZedSeriesDownload   __construct()  
void   serveFile()   send the data to browser for download

[ Top ]
Methods
Constructor __construct  [line 32]

  ZedSeriesDownload __construct( string $name, string $data, string $mime  )

Parameters:
string   $name:  filename to assign to downloaded file
string   $data:  data to download
string   $mime:  mimetype of data

API Tags:
Access:  public


[ Top ]
serveFile  [line 48]

  void serveFile( [bool $forceDownload = true]  )

send the data to browser for download

Parameters:
bool   $forceDownload:  wheter to force the download of the file

API Tags:
Access:  public


[ Top ]

Documentation generated on Fri, 22 Oct 2010 17:37:17 +0200 by phpDocumentor 1.4.1