<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
* @param $orientation
* @param $html
* @param $output
- * @param $fileName
+ * @param string $fileName
*
* @return string
*/
* @param $margins
* @param $html
* @param $output
- * @param $fileName
+ * @param string $fileName
*/
static function _html2pdf_wkhtmltopdf($paper_size, $orientation, $margins, $html, $output, $fileName) {
require_once 'packages/snappy/src/autoload.php';
}
/*
- * function to convert value from one metric to another
+ * convert value from one metric to another
*/
/**
* @param $value
}
/**
- * @param $fileName
+ * @param string $fileName
* @param $searchPath
* @param $values
* @param int $numPages
'embedding encoding=winansi'
);
- /**
- if ( $res == 0 ) {
- CRM_Core_Error::debug( "$key, $value: $res", $pdf->get_errmsg( ) );
- } else {
- CRM_Core_Error::debug( "SUCCESS: $key, $value", null );
- }
- **/
}
$pdf->end_page_ext('');