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 );
    }
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 );
    }
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 ) ; }
Get uri for a paragraph

@param   bool    $absolute
@return  string
Get uri for a paragraph