1 <?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 textwidth=80:
2 -------------------------------------------------------------------------------
4 -------------------------------------------------------------------------------
5 This file is part of mlib.
7 mlib is free software; you can redistribute it and/or modify it under
8 the terms of the GNU Lesser General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your option)
12 mlib is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17 You should have received a copy of the GNU Lesser General Public License; if
18 not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
19 Boston, MA 02111-1307 USA
20 -------------------------------------------------------------------------------
21 Creado: jue jul 29 09:42:56 ART 2004
22 Autor: MartÃn Marrese - m_marrese@argentina.com
23 -------------------------------------------------------------------------------
25 -----------------------------------------------------------------------------*/
28 * Clase dummy / interfaz para los templates de mlib.
29 * Establece los parametros para el contructor y los parametros del metodo
35 * Returns a parsed template.
37 * @param string $name Name of template to parse.
38 * @param mixed $vars Variables to replace in the template.
39 * @param string $val If $vars is a string, the value to replace
45 function parse($name, $vars = '', $val = '')
47 trigger_error('Not implemented!', E_USER_WARNING);
51 * Returns the template file name based on the blockname
53 * @param string $block BlockName.
58 function getFileName($block)
60 trigger_error('Not implemented!', E_USER_WARNING);
64 * Returns the template file content.
66 * @param string $file Filename.
71 function getFileContent($filename)
73 trigger_error('Not implemented!', E_USER_WARNING);