original_string: 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;
    }
code: 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;
    }
code_tokens: 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 ; }
docstring: Registers an include root directory
  
  Used by autoloader and loadClass()
  
  @param string $root  directory path
  @return boolean  was the directory added
docstring_tokens: Registers an include root directory