src/wcmf/lib/core/ClassLoader.php
public function load($className) {
    // search under baseDir assuming that namespaces match directories
    $filename = $this->baseDir.str_replace("\\", "/", $className).'.php';
    if (file_exists($filename)) {
      include($filename);
    }
  }
public function load($className) {
    // search under baseDir assuming that namespaces match directories
    $filename = $this->baseDir.str_replace("\\", "/", $className).'.php';
    if (file_exists($filename)) {
      include($filename);
    }
  }
public function load ( $ className ) { // search under baseDir assuming that namespaces match directories $ filename = $ this -> baseDir . str_replace ( "\\" , "/" , $ className ) . '.php' ; if ( file_exists ( $ filename ) ) { include ( $ filename ) ; } }
Load the given class definition
@param $className The class name
Load the given class definition