public static function registerIncludeRoot($root=null)
  {
    if(is_null($root)){
      $root = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR;
    }
    if(!in_array($root, self::$frameworkRoots)){
      self::$frameworkRoots[] = $root;
      return true;
    }
    return false;
  }
public static function registerIncludeRoot($root=null)
  {
    if(is_null($root)){
      $root = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR;
    }
    if(!in_array($root, self::$frameworkRoots)){
      self::$frameworkRoots[] = $root;
      return true;
    }
    return false;
  }
public static function registerIncludeRoot ( $ root = null ) { if ( is_null ( $ root ) ) { $ root = dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR ; } if ( ! in_array ( $ root , self :: $ frameworkRoots ) ) { self :: $ frameworkRoots [ ] = $ root ; return true ; } return false ; }
Registers an include root directory

Used by autoloader and loadClass()

@param string $root  directory path
@return boolean  was the directory added
Registers an include root directory