Smart.Framework Logo

final class \SmartModExtLib\PdfGenerate\PdfUtils
{ } ::

Class: PdfUtils - Provide various utility functions for exporting / generating PDFs.


class Methods

public static function pdf_mime_header ( ) {} :: STRING
@return: {STRING} 'application/pdf'
Get the PDF Document Mime Type Header Data
public static function pdf_disposition_header ( STRING $y_filename = "file.pdf", ENUM $y_disp = "inline" ) {} :: STRING
@return: {STRING} 'inline; filename="somedoc.pdf"' or 'attachment; filename="somedoc.pdf"'
@param: {STRING} $y_filename: The PDF Document file name: default is: file.pdf
@param: {ENUM} $y_disp: The content disposition, default is: inline ; can be also: attachment
Get the PDF Document FileName Header Data

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:59 +0000


Smart.Framework © 2009-2023 unix-world.org