HTTP_Download::setData() – Set raw data


void HTTP_Download::setData ( mixed $data = null )


Set $data to null if you want to unset.

Otherwise you can send any arbitrary data ie. from a database BLOB.


  • mixed $data = null - any arbietrary data as string to send or null to unset


This function can not be called statically.

Set file path (Previous) Set resource for download (Next)
Last updated: Fri, 20 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.