From 7ef61f7eebf93525862fd9b362dfd4c8ecf1c36b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Wed, 21 Apr 2004 15:43:02 +0000 Subject: [PATCH] Agrego la posibilidad de poder cambiarle el nombre por defecto al pdf generado por MECON_PDF_Marco. --- lib/MECON/PDF/Marco.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); -- 2.43.0