source: branches/0.4/web/addons/job_monarch/dwoo/Dwoo/ICompilable.php @ 755

Last change on this file since 755 was 755, checked in by ramonb, 11 years ago
  • add Dwoo
File size: 1010 bytes
Line 
1<?php
2
3/**
4 * interface that represents a compilable plugin
5 *
6 * implement this to notify the compiler that this plugin does not need to be loaded at runtime.
7 *
8 * to implement it right, you must implement <em>public static function compile(Dwoo_Compiler $compiler, $arg, $arg, ...)</em>,
9 * which replaces the <em>process()</em> method (that means <em>compile()</em> should have all arguments it requires).
10 *
11 * This software is provided 'as-is', without any express or implied warranty.
12 * In no event will the authors be held liable for any damages arising from the use of this software.
13 *
14 * @author     Jordi Boggiano <j.boggiano@seld.be>
15 * @copyright  Copyright (c) 2008, Jordi Boggiano
16 * @license    http://dwoo.org/LICENSE   Modified BSD License
17 * @link       http://dwoo.org/
18 * @version    1.0.0
19 * @date       2008-10-23
20 * @package    Dwoo
21 */
22interface Dwoo_ICompilable
23{
24        // this replaces the process function
25        //public static function compile(Dwoo_Compiler $compiler, $arg, $arg, ...);
26}
Note: See TracBrowser for help on using the repository browser.