public static function load($class)
	{
		if (substr($class, 0, strlen(self::PACKAGE)) != self::PACKAGE)
			return false;

		$path = sprintf(
			'%s/%s.php',
			self::$_path,
			str_replace('_', '/', $class)
		);

		if (file_exists($path)) require_once($path);
	}
public static function load($class)
	{
		if (substr($class, 0, strlen(self::PACKAGE)) != self::PACKAGE)
			return false;

		$path = sprintf(
			'%s/%s.php',
			self::$_path,
			str_replace('_', '/', $class)
		);

		if (file_exists($path)) require_once($path);
	}
public static function load ( $ class ) { if ( substr ( $ class , 0 , strlen ( self :: PACKAGE ) ) != self :: PACKAGE ) return false ; $ path = sprintf ( '%s/%s.php' , self :: $ _path , str_replace ( '_' , '/' , $ class ) ) ; if ( file_exists ( $ path ) ) require_once ( $ path ) ; }
Attempts to load a Pheanstalk class file.

@param string $class
@see http://php.net/manual/en/function.spl-autoload-register.php
Attempts to load a Pheanstalk class file .