%PDF- %PDF-
| Direktori : /home1/lightco1/www/lightingrepublic.com.au/libraries/koowa/loader/adapter/ |
| Current File : //home1/lightco1/www/lightingrepublic.com.au/libraries/koowa/loader/adapter/interface.php |
<?php
/**
* @version $Id$
* @package Koowa_Loader
* @subpackage Adapter
* @copyright Copyright (C) 2007 - 2012 Johan Janssens. All rights reserved.
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
*/
/**
* Loader Adapter Interface
*
* @author Johan Janssens <johan@nooku.org>
* @package Koowa_Loader
* @subpackage Adapter
*/
interface KLoaderAdapterInterface
{
/**
* Get the type
*
* @return string Returns the type
*/
public function getType();
/**
* Get the class prefix
*
* @return string Returns the class prefix
*/
public function getPrefix();
/**
* Get the base path
*
* @return string Returns the base path
*/
public function getBasepath();
/**
* Get the path based on a class name
*
* @param string The class name
* @return string|false Returns the path on success FALSE on failure
*/
public function findPath($classname, $basepath = null);
}