Classes/Service/FieldValueService.php
public function getFieldValue(
        $fieldName,
        $typoScriptUrlEntry,
        $row
    ) {
        // support for cObject if the value is a configuration
        if (!empty($typoScriptUrlEntry[$fieldName . '.'])) {
            $this->contentObject->start($row, $typoScriptUrlEntry['table']);

            return $this->contentObject->cObjGetSingle(
                $typoScriptUrlEntry[$fieldName],
                $typoScriptUrlEntry[$fieldName . '.']
            );
        }

        return $row[$typoScriptUrlEntry[$fieldName]];
    }
public function getFieldValue(
        $fieldName,
        $typoScriptUrlEntry,
        $row
    ) {
        // support for cObject if the value is a configuration
        if (!empty($typoScriptUrlEntry[$fieldName . '.'])) {
            $this->contentObject->start($row, $typoScriptUrlEntry['table']);

            return $this->contentObject->cObjGetSingle(
                $typoScriptUrlEntry[$fieldName],
                $typoScriptUrlEntry[$fieldName . '.']
            );
        }

        return $row[$typoScriptUrlEntry[$fieldName]];
    }
public function getFieldValue ( $ fieldName , $ typoScriptUrlEntry , $ row ) { // support for cObject if the value is a configuration if ( ! empty ( $ typoScriptUrlEntry [ $ fieldName . '.' ] ) ) { $ this -> contentObject -> start ( $ row , $ typoScriptUrlEntry [ 'table' ] ) ; return $ this -> contentObject -> cObjGetSingle ( $ typoScriptUrlEntry [ $ fieldName ] , $ typoScriptUrlEntry [ $ fieldName . '.' ] ) ; } return $ row [ $ typoScriptUrlEntry [ $ fieldName ] ] ; }
Uses the page's cObj instance to resolve the field's value.

@param string $fieldName The name of the field to get.
@param array $typoScriptUrlEntry The entry who is defined via typoscript
@param array $row
@SuppressWarnings(superglobals)

@return string The field's value.
Uses the page s cObj instance to resolve the field s value .