original_string: public function getParentString()
      {
          $keywordsArray = array();
  
          /** @var eZTagsObject[] $path */
          $path = $this->getPath( false, true );
          if ( is_array( $path ) && !empty( $path ) )
          {
              foreach ( $path as $tag )
              {
                  $synonymsCount = $tag->getSynonymsCount( true );
                  $keywordsArray[] = $synonymsCount > 0 ? $tag->attribute( 'keyword' ) . ' (+' . $synonymsCount . ')' : $tag->attribute( 'keyword' );
              }
          }
  
          $synonymsCount = $this->getSynonymsCount( true );
          $keywordsArray[] = $synonymsCount > 0 ? $this->attribute( 'keyword' ) . ' (+' . $synonymsCount . ')' : $this->attribute( 'keyword' );
  
          return implode( ' / ', $keywordsArray );
      }
code: public function getParentString()
      {
          $keywordsArray = array();
  
          /** @var eZTagsObject[] $path */
          $path = $this->getPath( false, true );
          if ( is_array( $path ) && !empty( $path ) )
          {
              foreach ( $path as $tag )
              {
                  $synonymsCount = $tag->getSynonymsCount( true );
                  $keywordsArray[] = $synonymsCount > 0 ? $tag->attribute( 'keyword' ) . ' (+' . $synonymsCount . ')' : $tag->attribute( 'keyword' );
              }
          }
  
          $synonymsCount = $this->getSynonymsCount( true );
          $keywordsArray[] = $synonymsCount > 0 ? $this->attribute( 'keyword' ) . ' (+' . $synonymsCount . ')' : $this->attribute( 'keyword' );
  
          return implode( ' / ', $keywordsArray );
      }
code_tokens: public function getParentString ( ) { $ keywordsArray = array ( ) ; /** @var eZTagsObject[] $path */ $ path = $ this -> getPath ( false , true ) ; if ( is_array ( $ path ) && ! empty ( $ path ) ) { foreach ( $ path as $ tag ) { $ synonymsCount = $ tag -> getSynonymsCount ( true ) ; $ keywordsArray [ ] = $ synonymsCount > 0 ? $ tag -> attribute ( 'keyword' ) . ' (+' . $ synonymsCount . ')' : $ tag -> attribute ( 'keyword' ) ; } } $ synonymsCount = $ this -> getSynonymsCount ( true ) ; $ keywordsArray [ ] = $ synonymsCount > 0 ? $ this -> attribute ( 'keyword' ) . ' (+' . $ synonymsCount . ')' : $ this -> attribute ( 'keyword' ) ; return implode ( ' / ' , $ keywordsArray ) ; }
docstring: Returns the parent string of the tag
  
  @return string
docstring_tokens: Returns the parent string of the tag