source/Internal/Review/Bridge/UserReviewAndRatingBridge.php
private function getObjectTitleFieldName($type)
    {
        if ($type === 'oxarticle') {
            $fieldName = 'oxarticles__oxtitle';
        }

        if ($type === 'oxrecommlist') {
            $fieldName = 'oxrecommlists__oxtitle';
        }

        if (!isset($fieldName)) {
            throw new ReviewAndRatingObjectTypeException();
        }

        return $fieldName;
    }
private function getObjectTitleFieldName($type)
    {
        if ($type === 'oxarticle') {
            $fieldName = 'oxarticles__oxtitle';
        }

        if ($type === 'oxrecommlist') {
            $fieldName = 'oxrecommlists__oxtitle';
        }

        if (!isset($fieldName)) {
            throw new ReviewAndRatingObjectTypeException();
        }

        return $fieldName;
    }
private function getObjectTitleFieldName ( $ type ) { if ( $ type === 'oxarticle' ) { $ fieldName = 'oxarticles__oxtitle' ; } if ( $ type === 'oxrecommlist' ) { $ fieldName = 'oxrecommlists__oxtitle' ; } if ( ! isset ( $ fieldName ) ) { throw new ReviewAndRatingObjectTypeException ( ) ; } return $ fieldName ; }
Returns field name of the object title.

@param string $type

@return string
@throws ReviewAndRatingObjectTypeException
Returns field name of the object title .