SS_PDF::add
Adds a normale page or cover to your pdf
Signature
public function add(string
$content,
[string
$type = 'Page',
[array
$options = ]] )
Parameters
$content
— string- The html code from your DataObject, a pdf file or any website url
$type
— string- "Page" for a normal page or if you want to add an cover "Cover"
$options
— array- Specific options only for that page
A list with all possible options can be found here http://wkhtmltopdf.org/usage/wkhtmltopdf.txt