original_string: public function SetImportDirs( $dirs ){
  		Less_Parser::$options['import_dirs'] = array();
  
  		foreach($dirs as $path => $uri_root){
  
  			$path = self::WinPath($path);
  			if( !empty($path) ){
  				$path = rtrim($path,'/').'/';
  			}
  
  			if ( !is_callable($uri_root) ){
  				$uri_root = self::WinPath($uri_root);
  				if( !empty($uri_root) ){
  					$uri_root = rtrim($uri_root,'/').'/';
  				}
  			}
  
  			Less_Parser::$options['import_dirs'][$path] = $uri_root;
  		}
  	}
code: public function SetImportDirs( $dirs ){
  		Less_Parser::$options['import_dirs'] = array();
  
  		foreach($dirs as $path => $uri_root){
  
  			$path = self::WinPath($path);
  			if( !empty($path) ){
  				$path = rtrim($path,'/').'/';
  			}
  
  			if ( !is_callable($uri_root) ){
  				$uri_root = self::WinPath($uri_root);
  				if( !empty($uri_root) ){
  					$uri_root = rtrim($uri_root,'/').'/';
  				}
  			}
  
  			Less_Parser::$options['import_dirs'][$path] = $uri_root;
  		}
  	}
code_tokens: public function SetImportDirs ( $ dirs ) { Less_Parser :: $ options [ 'import_dirs' ] = array ( ) ; foreach ( $ dirs as $ path => $ uri_root ) { $ path = self :: WinPath ( $ path ) ; if ( ! empty ( $ path ) ) { $ path = rtrim ( $ path , '/' ) . '/' ; } if ( ! is_callable ( $ uri_root ) ) { $ uri_root = self :: WinPath ( $ uri_root ) ; if ( ! empty ( $ uri_root ) ) { $ uri_root = rtrim ( $ uri_root , '/' ) . '/' ; } } Less_Parser :: $ options [ 'import_dirs' ] [ $ path ] = $ uri_root ; } }
docstring: Set a list of directories or callbacks the parser should use for determining import paths
  
  @param array $dirs
docstring_tokens: Set a list of directories or callbacks the parser should use for determining import paths