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 );
    }
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 );
    }
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 ) ; }
Returns the parent string of the tag

@return string
Returns the parent string of the tag