--- /dev/null
+<?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
+-------------------------------------------------------------------------------
+ mlib
+-------------------------------------------------------------------------------
+This file is part of mlib.
+
+mlib is free software; you can redistribute it and/or modify it under
+the terms of the GNU Lesser General Public License as published by the Free
+Software Foundation; either version 2 of the License, or (at your option)
+any later version.
+
+mlib is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+details.
+
+You should have received a copy of the GNU Lesser General Public License; if
+not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+Boston, MA 02111-1307 USA
+-------------------------------------------------------------------------------
+Creado: jue jul 29 09:42:56 ART 2004
+Autor: Martín Marrese - m_marrese@argentina.com
+-------------------------------------------------------------------------------
+$Id$
+-----------------------------------------------------------------------------*/
+
+/**
+ * Clase dummy / interfaz para los templates de mlib.
+ * Establece los parametros para el contructor y los parametros del metodo
+ * parse.
+ */
+class MLIB_Tpl {
+
+ /**
+ * Constructor. Backward compatibility ( < PHP5 ).
+ *
+ * @param string $root Root directory where template files are.
+ * @param bool $useIncludePath If it's true, it looks for template files in
+ * PHP's include_path.
+ * @param string $group Group of templates to use (a subdirectory in root).
+ *
+ * @access public
+ * @return void
+ */
+ function MLIB_Tpl($root = '.', $useIncludePath = false, $group = '')
+ {
+ //Aca no sabia si hacer
+ //$this->__construct($root, $useIncludePath, $group);
+ trigger_error('Not implemented!', E_USER_WARNING);
+ }
+
+ /**
+ * Constructor. (PHP5)
+ *
+ * @param string $root Root directory where template files are.
+ * @param bool $useIncludePath If it's true, it looks for template files in
+ * PHP's include_path.
+ * @param string $group Group of templates to use (a subdirectory in root).
+ *
+ * @access public
+ * @return void
+ */
+ function __construct($root = '.', $useIncludePath = false, $group = '')
+ {
+ trigger_error('Not implemented!', E_USER_WARNING);
+ }
+
+ /**
+ * Returns a parsed template.
+ *
+ * @param string $name Name of template to parse.
+ * @param mixed $vars Variables to replace in the template.
+ * @param string $val If $vars is a string, the value to replace
+ * for $vars.
+ * @param mixed $group Group to use to parse this template.
+ * null to use the current group.
+ *
+ * @access public
+ * @return mixed
+ */
+ function parse($name, $vars = '', $val = '', $group = null)
+ {
+ trigger_error('Not implemented!', E_USER_WARNING);
+ }
+
+ /**
+ * Returns the template file name based on the blockname
+ *
+ * @param string $block BlockName.
+ *
+ * @access public
+ * @return mixed
+ */
+ function getFileName($block)
+ {
+ trigger_error('Not implemented!', E_USER_WARNING);
+ }
+
+ /**
+ * Returns the template file content.
+ *
+ * @param string $file Filename.
+ *
+ * @access public
+ * @return mixed
+ */
+ function getFileContent($filename)
+ {
+ trigger_error('Not implemented!', E_USER_WARNING);
+ }
+}
+?>
\ No newline at end of file