importFromFile()
importFromFile(string $file, mixed $pages = null) : \Pop\Pdf\Document\AbstractDocument
Import from an existing PDF file
Parameters
string | $file | |
mixed | $pages |
Pop Pdf class
importFromFile(string $file, mixed $pages = null) : \Pop\Pdf\Document\AbstractDocument
Import from an existing PDF file
string | $file | |
mixed | $pages |
importRawData(string $data, mixed $pages = null) : \Pop\Pdf\Document\AbstractDocument
Import from raw data stream
string | $data | |
mixed | $pages |
writeToFile(\Pop\Pdf\Document\AbstractDocument $document, string $filename) : void
Write document to file
\Pop\Pdf\Document\AbstractDocument | $document | |
string | $filename |
outputToHttp(\Pop\Pdf\Document\AbstractDocument $document, string $filename = 'pop.pdf', boolean $forceDownload = false, array $headers = array()) : void
Output to HTTP response
\Pop\Pdf\Document\AbstractDocument | $document | |
string | $filename | |
boolean | $forceDownload | |
array | $headers |