Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
commit f8434d72c3
  1. 10
      main/inc/lib/pdf.lib.php

@ -181,7 +181,7 @@ class PDF
* @param bool $complete_style show header and footer if true * @param bool $complete_style show header and footer if true
* @param bool $addStyle * @param bool $addStyle
* *
* @return bool * @return false|null
*/ */
public function html_to_pdf( public function html_to_pdf(
$html_file_array, $html_file_array,
@ -679,7 +679,7 @@ class PDF
} }
/** /**
* @param array $header html content * @param string $header html content
*/ */
public function set_custom_header($header) public function set_custom_header($header)
{ {
@ -775,7 +775,7 @@ class PDF
* *
* @param string $html PDF content * @param string $html PDF content
* @param string $fileName File name * @param string $fileName File name
* @param null $dest Optional. Directory to move file * @param string $dest Optional. Directory to move file
* @return string The PDF path * @return string The PDF path
*/ */
public function exportFromHtmlToFile($html, $fileName, $dest = null) public function exportFromHtmlToFile($html, $fileName, $dest = null)
@ -808,8 +808,8 @@ class PDF
/** /**
* Create a PDF and save it into the documents area * Create a PDF and save it into the documents area
* @param string $htmlContent HTML Content * @param string $htmlContent HTML Content
* @param $fileName The file name * @param string $fileName The file name
* @param $courseId The course ID * @param integer $courseId The course ID
* @param int $sessionId Optional. The session ID * @param int $sessionId Optional. The session ID
*/ */
public function exportFromHtmlToDocumentsArea($htmlContent, $fileName, $courseId, $sessionId = 0) public function exportFromHtmlToDocumentsArea($htmlContent, $fileName, $courseId, $sessionId = 0)

Loading…
Cancel
Save