Minor - adding docs

1.9.x
Julio Montoya 11 years ago
parent 663c8dc8e9
commit 6b87edb98d
  1. 3
      main/cron/import_csv.php
  2. 9
      main/inc/lib/export.lib.inc.php

@ -650,6 +650,9 @@ class ImportCsv
}
}
/**
* Dump database tables
*/
private function dumpDatabaseTables()
{
echo 'Dumping tables'.PHP_EOL;

@ -181,8 +181,13 @@ class Export {
$pdf = new PDF($params['format'], $params['orientation'], $params);
$pdf->html_to_pdf_with_template($table_html);
}
public static function export_html_to_pdf($html, $params = array()) {
/**
* @param string $html
* @param array $params
*/
public static function export_html_to_pdf($html, $params = array())
{
$params['format'] = isset($params['format']) ? $params['format'] : 'A4';
$params['orientation'] = isset($params['orientation']) ? $params['orientation'] : 'P';

Loading…
Cancel
Save