protected function getSynonymPathString($synonymId, $mainTagPathString)
    {
        $pathStringElements = explode('/', trim($mainTagPathString, '/'));
        array_pop($pathStringElements);

        return (!empty($pathStringElements) ? '/' . implode('/', $pathStringElements) : '') . '/' . (int) $synonymId . '/';
    }
protected function getSynonymPathString($synonymId, $mainTagPathString)
    {
        $pathStringElements = explode('/', trim($mainTagPathString, '/'));
        array_pop($pathStringElements);

        return (!empty($pathStringElements) ? '/' . implode('/', $pathStringElements) : '') . '/' . (int) $synonymId . '/';
    }
protected function getSynonymPathString ( $ synonymId , $ mainTagPathString ) { $ pathStringElements = explode ( '/' , trim ( $ mainTagPathString , '/' ) ) ; array_pop ( $ pathStringElements ) ; return ( ! empty ( $ pathStringElements ) ? '/' . implode ( '/' , $ pathStringElements ) : '' ) . '/' . ( int ) $ synonymId . '/' ; }
Returns the path string of a synonym for main tag path string.

@param mixed $synonymId
@param string $mainTagPathString

@return string
Returns the path string of a synonym for main tag path string .