Location: PHPKode > scripts > packagex > packagex/packagex/Packagable.class.php
<?php
/**
 * Packagable interface
 * <p>Provides definitions for building php class package</p>
 * @author Carlo Tasca
 * @version 1
 * @package packagex
 *
 */
interface Packagable
{
	/**
	 * import(String) method
	 * <p>$import must have . instead of / for directories
	 * wild card * can be used at the end of $import string. This will import all classes in directory</p>
	 * <p>For example:</p>
	 * <code>import(classes.util.*)</code> will import all classes found in directory classes/util/
	 * <code>import(classes.util.Redir)</code> will import only the class Redir.class.php located in classes/util/
	 *
	 * @param string $import
	 */
   public function import($import);
   /**
    * loadClasses($path)
    *
    * @param string $path such as "../" "../../" etc
    */
	public function loadClasses($path);
}
?>
Return current item: packagex