function GetPropertiesFromForm(&$Context)
 {
     $this->DiscussionID = ForceIncomingInt('DiscussionID', 0);
     $this->CategoryID = ForceIncomingInt('CategoryID', 0);
     $this->Name = ForceIncomingString('Name', '');
     $this->UserDiscussionCount = ForceIncomingInt('UserDiscussionCount', 0);
     $this->WhisperUsername = ForceIncomingString('WhisperUsername', '');
     $this->WhisperUsername = Strip_Slashes($this->WhisperUsername);
     // Load the comment
     $this->Comment = $Context->ObjectFactory->NewContextObject($Context, 'Comment');
     $this->Comment->GetPropertiesFromForm();
 }
function FormatHtmlStringInline($inValue, $StripSlashes = '0', $StripTags = '0')
{
    // $sReturn = ForceString($inValue, '');
    $sReturn = $inValue;
    if ($StripTags) {
        $sReturn = strip_tags($sReturn);
    }
    if (ForceBool($StripSlashes, 0)) {
        $sReturn = Strip_Slashes($sReturn);
    }
    return str_replace("\r\n", ' ', htmlspecialchars($sReturn));
}