5 * Abstract Savant2_Compiler class.
7 * You have to extend this class for it to be useful; e.g., "class
8 * Savant2_Plugin_example extends Savant2_Plugin".
10 * $Id: Compiler.php,v 1.5 2005/08/09 22:19:39 pmjones Exp $
12 * @author Paul M. Jones <pmjones@ciaweb.net>
16 * @license LGPL http://www.gnu.org/copyleft/lesser.html
18 * This program is free software; you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License as
20 * published by the Free Software Foundation; either version 2.1 of the
21 * License, or (at your option) any later version.
23 * This program is distributed in the hope that it will be useful, but
24 * WITHOUT ANY WARRANTY; without even the implied warranty of
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
26 * Lesser General Public License for more details.
30 class Savant2_Compiler {
34 * Reference to the "parent" Savant object.
49 function Savant2_Compiler($conf = array())
51 settype($conf, 'array');
52 foreach ($conf as $key => $val) {
60 * Stub method for extended behaviors.
68 function compile($tpl)