application/modules/g/views/helpers/Snippet.php
public function getField($identifier, $fieldName) {
        $snippetModel = $this->_getSnippetModel();
        $snippet = $snippetModel->fetchByIdentifier($identifier);

        if (!isset($snippet->{$fieldName})) {
            throw new Exception(sprintf(self::EXCEPTION_MISSING_FIELD, $snippet->id, $fieldName));
        }
        return $snippet->{$fieldName};
    }
public function getField($identifier, $fieldName) {
        $snippetModel = $this->_getSnippetModel();
        $snippet = $snippetModel->fetchByIdentifier($identifier);

        if (!isset($snippet->{$fieldName})) {
            throw new Exception(sprintf(self::EXCEPTION_MISSING_FIELD, $snippet->id, $fieldName));
        }
        return $snippet->{$fieldName};
    }
public function getField ( $ identifier , $ fieldName ) { $ snippetModel = $ this -> _getSnippetModel ( ) ; $ snippet = $ snippetModel -> fetchByIdentifier ( $ identifier ) ; if ( ! isset ( $ snippet -> { $ fieldName } ) ) { throw new Exception ( sprintf ( self :: EXCEPTION_MISSING_FIELD , $ snippet -> id , $ fieldName ) ) ; } return $ snippet -> { $ fieldName } ; }
Returns a specific field without rendering any partials or magical Snippet data.

@param string $identifier
@param string $fieldName
@return string
Returns a specific field without rendering any partials or magical Snippet data .