source/Internal/Review/Bridge/UserReviewAndRatingBridge.php
private function getObjectTitle($type, $objectId)
    {
        $objectModel = $this->getObjectModel($type);
        $objectModel->load($objectId);

        $fieldName = $this->getObjectTitleFieldName($type);
        $field = $objectModel->$fieldName;

        return $field->value;
    }
private function getObjectTitle($type, $objectId)
    {
        $objectModel = $this->getObjectModel($type);
        $objectModel->load($objectId);

        $fieldName = $this->getObjectTitleFieldName($type);
        $field = $objectModel->$fieldName;

        return $field->value;
    }
private function getObjectTitle ( $ type , $ objectId ) { $ objectModel = $ this -> getObjectModel ( $ type ) ; $ objectModel -> load ( $ objectId ) ; $ fieldName = $ this -> getObjectTitleFieldName ( $ type ) ; $ field = $ objectModel -> $ fieldName ; return $ field -> value ; }
Returns object title.

@param string $type
@param string $objectId

@return string
Returns object title .