public function setContent(&$obj, $val, $record)
    {
        $val = trim($val);
        if ($val) {
            $paragraphs = explode("\n", $val);
            $obj->Content = '<p>' . implode('</p><p>', $paragraphs) . '</p>';
        }
    }
public function setContent(&$obj, $val, $record)
    {
        $val = trim($val);
        if ($val) {
            $paragraphs = explode("\n", $val);
            $obj->Content = '<p>' . implode('</p><p>', $paragraphs) . '</p>';
        }
    }
public function setContent ( & $ obj , $ val , $ record ) { $ val = trim ( $ val ) ; if ( $ val ) { $ paragraphs = explode ( "\n" , $ val ) ; $ obj -> Content = '<p>' . implode ( '</p><p>' , $ paragraphs ) . '</p>' ; } }
Adds paragraphs to content.
Adds paragraphs to content .