original_string: protected function build_part($type, $value, $name = '') {
          $return = $type . ':' . urlencode($value);
          if ($name !== '') {
              $return .= '|' . urlencode($name);
          }
          return $return;
      }
code: protected function build_part($type, $value, $name = '') {
          $return = $type . ':' . urlencode($value);
          if ($name !== '') {
              $return .= '|' . urlencode($name);
          }
          return $return;
      }
code_tokens: protected function build_part ( $ type , $ value , $ name = '' ) { $ return = $ type . ':' . urlencode ( $ value ) ; if ( $ name !== '' ) { $ return .= '|' . urlencode ( $ name ) ; } return $ return ; }
docstring: Build a part of the path.
  
  This is used to construct the path that the user is currently browsing.
  It must contain a 'type', and a 'value'. Then it can also contain a
  'name' which is very useful to prevent extra queries to get the name only.
  
  See {@link self::split_part} to extra the information from a part.
  
  @param string $type Type of part, typically 'folder' or 'search'.
  @param string $value The value of the part, eg. a folder ID or search terms.
  @param string $name The name of the part.
  @return string type:value or type:value|name
docstring_tokens: Build a part of the path .