X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/21f14e6b1dc39a6e0ce0c11f7a3d2d19d458c628..491e3ed8d9646fc86ccbf3ed9ed1593faedbe167:/lib/MECON/PDF/Marco.php diff --git a/lib/MECON/PDF/Marco.php b/lib/MECON/PDF/Marco.php index adbb657..42fc4cb 100644 --- a/lib/MECON/PDF/Marco.php +++ b/lib/MECON/PDF/Marco.php @@ -116,12 +116,13 @@ class MECON_PDF_Marco extends MECON_PDF { * * @param string $tam Tamanio de las hojas. * @param string $ori Orientacion de las hojaz (portrait o landscape). + * @param string $nom Nombre del archivo. * * @return void * @access public */ - function MECON_PDF_Marco($tam = "a4", $ori = "portrait") { - $this->MECON_PDF($tam, $ori); + function MECON_PDF_Marco($tam = "a4", $ori = "portrait", $nom = 'Doc.pdf') { + $this->MECON_PDF($tam, $ori, $nom); $this->tamanio = $tam; $this->_resetConf(); $this->_separador_defecto =& new MECON_PDF_Separador();