public function load($className)
    {
        $this->_classFilename = $className . '.php';
        $this->_includePaths  = explode(PATH_SEPARATOR, get_include_path());
        $classFound           = null;

        if(strpos($this->_classFilename, '\\') !== false)
        {
            $classFound = $this->searchForBackslashNamespacedClass();
        }
        elseif(strpos($this->_classFilename, '_') !== false)
        {
            $classFound = $this->searchForUnderscoreNamespacedClass();
        }
        else
        {
            $classFound = $this->searchForNonNamespacedClass();
        }

        return $classFound;
    }
public function load($className)
    {
        $this->_classFilename = $className . '.php';
        $this->_includePaths  = explode(PATH_SEPARATOR, get_include_path());
        $classFound           = null;

        if(strpos($this->_classFilename, '\\') !== false)
        {
            $classFound = $this->searchForBackslashNamespacedClass();
        }
        elseif(strpos($this->_classFilename, '_') !== false)
        {
            $classFound = $this->searchForUnderscoreNamespacedClass();
        }
        else
        {
            $classFound = $this->searchForNonNamespacedClass();
        }

        return $classFound;
    }
public function load ( $ className ) { $ this -> _classFilename = $ className . '.php' ; $ this -> _includePaths = explode ( PATH_SEPARATOR , get_include_path ( ) ) ; $ classFound = null ; if ( strpos ( $ this -> _classFilename , '\\' ) !== false ) { $ classFound = $ this -> searchForBackslashNamespacedClass ( ) ; } elseif ( strpos ( $ this -> _classFilename , '_' ) !== false ) { $ classFound = $ this -> searchForUnderscoreNamespacedClass ( ) ; } else { $ classFound = $ this -> searchForNonNamespacedClass ( ) ; } return $ classFound ; }
This function is called by the PHP runtime to find and load a class for use.
Users of this class should not call this function.

@param string $className

@return bool
This function is called by the PHP runtime to find and load a class for use . Users of this class should not call this function .