public function get_content($shorttext=false) {
        if ($shorttext && $this->shorttext!==null) {
            return format_string($this->shorttext);
        } else {
            return format_string($this->text);
        }
    }
public function get_content($shorttext=false) {
        if ($shorttext && $this->shorttext!==null) {
            return format_string($this->shorttext);
        } else {
            return format_string($this->text);
        }
    }
public function get_content ( $ shorttext = false ) { if ( $ shorttext && $ this -> shorttext !== null ) { return format_string ( $ this -> shorttext ) ; } else { return format_string ( $ this -> text ) ; } }
Gets the content for this node.

@param bool $shorttext If true shorttext is used rather than the normal text
@return string
Gets the content for this node .