src/Web2All/Manager/Main.class.php
public static function loadClass($classname, $loadscheme='Web2All', $package='', $set_includedir=false) {
    $class_exists=class_exists($classname) || interface_exists($classname);
    if ($class_exists && !$set_includedir) {
      // if class already exists, we don't need to do a thing
      // but one CAVEAT: if the class was loaded with $set_includedir==false and now the $set_includedir==true
      // then we do not add the path to the include path. 
      return;
    }
    
    self::includeClass($classname, $loadscheme, $package, $set_includedir);
  }
public static function loadClass($classname, $loadscheme='Web2All', $package='', $set_includedir=false) {
    $class_exists=class_exists($classname) || interface_exists($classname);
    if ($class_exists && !$set_includedir) {
      // if class already exists, we don't need to do a thing
      // but one CAVEAT: if the class was loaded with $set_includedir==false and now the $set_includedir==true
      // then we do not add the path to the include path. 
      return;
    }
    
    self::includeClass($classname, $loadscheme, $package, $set_includedir);
  }
public static function loadClass ( $ classname , $ loadscheme = 'Web2All' , $ package = '' , $ set_includedir = false ) { $ class_exists = class_exists ( $ classname ) || interface_exists ( $ classname ) ; if ( $ class_exists && ! $ set_includedir ) { // if class already exists, we don't need to do a thing
 // but one CAVEAT: if the class was loaded with $set_includedir==false and now the $set_includedir==true
 // then we do not add the path to the include path. 
 return ; } self :: includeClass ( $ classname , $ loadscheme , $ package , $ set_includedir ) ; }
Include php file for Web2All_Manager_Plugin

@param string  $classname
@param string  $loadscheme     [optional (Web2All|PEAR|INC|PLAIN) defaults to Web2All]
@param string  $package        [optional packagename]
@param boolean $set_includedir [optional bool, set true to add the package dir to include path]
Include php file for Web2All_Manager_Plugin