public static function load($class) 
	{
		if (substr($class, 0, 8)=='Ripcord_') 
		{
			$root = dirname(__FILE__).'/ripcord_';
			$class = substr($class, 8);
			$file = str_replace('.', '', $class);
			$file = str_replace('_', '/', $file);
			$file = strtolower($file);
			while ($file && $file!='.') 
			{
				if ( file_exists($root.$file.'.php') ) 
				{
					require_once($root.$file.'.php');
					return true;
				} else {
					$file = dirname($file);
				}
			}
		}
		return false;
	}
public static function load($class) 
	{
		if (substr($class, 0, 8)=='Ripcord_') 
		{
			$root = dirname(__FILE__).'/ripcord_';
			$class = substr($class, 8);
			$file = str_replace('.', '', $class);
			$file = str_replace('_', '/', $file);
			$file = strtolower($file);
			while ($file && $file!='.') 
			{
				if ( file_exists($root.$file.'.php') ) 
				{
					require_once($root.$file.'.php');
					return true;
				} else {
					$file = dirname($file);
				}
			}
		}
		return false;
	}
public static function load ( $ class ) { if ( substr ( $ class , 0 , 8 ) == 'Ripcord_' ) { $ root = dirname ( __FILE__ ) . '/ripcord_' ; $ class = substr ( $ class , 8 ) ; $ file = str_replace ( '.' , '' , $ class ) ; $ file = str_replace ( '_' , '/' , $ file ) ; $ file = strtolower ( $ file ) ; while ( $ file && $ file != '.' ) { if ( file_exists ( $ root . $ file . '.php' ) ) { require_once ( $ root . $ file . '.php' ) ; return true ; } else { $ file = dirname ( $ file ) ; } } } return false ; }
This method includes a ripcord class, using require_once. Used for autoloading ripcord classes.
@param string $class The name of the class to load.
@return boolean
This method includes a ripcord class using require_once . Used for autoloading ripcord classes .