original_string: public function getUri( $absolute = false )
      {
          if ( empty( $this->contentId ) )
          {
              return '#error-paragraph-missing:contentId';
          }
  
          if ( 'content' == $this->subType )
          {
              return $this->getUriForContent( $this->contentId, $absolute );
          }
  
          return $this->getUriById( $this->contentId );
      }
code: public function getUri( $absolute = false )
      {
          if ( empty( $this->contentId ) )
          {
              return '#error-paragraph-missing:contentId';
          }
  
          if ( 'content' == $this->subType )
          {
              return $this->getUriForContent( $this->contentId, $absolute );
          }
  
          return $this->getUriById( $this->contentId );
      }
code_tokens: public function getUri ( $ absolute = false ) { if ( empty ( $ this -> contentId ) ) { return '#error-paragraph-missing:contentId' ; } if ( 'content' == $ this -> subType ) { return $ this -> getUriForContent ( $ this -> contentId , $ absolute ) ; } return $ this -> getUriById ( $ this -> contentId ) ; }
docstring: Get uri for a paragraph
  
  @param   bool    $absolute
  @return  string
docstring_tokens: Get uri for a paragraph