Source for file ILoader.php

Documentation is available at ILoader.php

  1. <?php
  2.  
  3. /**
  4.  * interface for dwoo plugin loaders
  5.  *
  6.  * This software is provided 'as-is', without any express or implied warranty.
  7.  * In no event will the authors be held liable for any damages arising from the use of this software.
  8.  *
  9.  * This file is released under the LGPL
  10.  * "GNU Lesser General Public License"
  11.  * More information can be found here:
  12.  * {@link http://www.gnu.org/copyleft/lesser.html}
  13.  *
  14.  * @author     Jordi Boggiano <[email protected]>
  15.  * @copyright  Copyright (c) 2008, Jordi Boggiano
  16.  * @license    http://www.gnu.org/copyleft/lesser.html  GNU Lesser General Public License
  17.  * @link       http://dwoo.org/
  18.  * @version    0.9.1
  19.  * @date       2008-05-30
  20.  * @package    Dwoo
  21.  */
  22. interface Dwoo_ILoader
  23. {
  24.     /**
  25.      * loads a plugin file
  26.      *
  27.      * the second parameter is used to avoid permanent rehashing when using php functions,
  28.      * however this means that if you have add a plugin that overrides a php function you have
  29.      * to delete the classpath.cache file(s) by hand to force a rehash of the plugins
  30.      *
  31.      * @param string $class the plugin name, without the Dwoo_Plugin_ prefix
  32.      * @param bool $forceRehash if true, the class path caches will be rebuilt if the plugin is not found, in case it has just been added, defaults to true
  33.      */
  34.     public function loadPlugin($class$forceRehash true);
  35. }

Documentation generated on Sun, 03 Aug 2008 15:12:39 +0200 by phpDocumentor 1.4.0