public static function get_content_value($content) {
        $arr = explode('##', $content->content);

        $strvalue = '';
        foreach ($arr as $a) {
            $strvalue .= $a . ' ';
        }

        return trim($strvalue, "\r\n ");
    }
public static function get_content_value($content) {
        $arr = explode('##', $content->content);

        $strvalue = '';
        foreach ($arr as $a) {
            $strvalue .= $a . ' ';
        }

        return trim($strvalue, "\r\n ");
    }
public static function get_content_value ( $ content ) { $ arr = explode ( '##' , $ content -> content ) ; $ strvalue = '' ; foreach ( $ arr as $ a ) { $ strvalue .= $ a . ' ' ; } return trim ( $ strvalue , "\r\n " ) ; }
Returns the presentable string value for a field content.

The returned string should be plain text.

@param stdClass $content
@return string
Returns the presentable string value for a field content .