public static function BuildHTMLEncodingStatement($p_optArray) { if (isset($p_optArray[1]) && strtolower($p_optArray[1]) == 'off') { $newTag = 'disable_html_encoding'; } else { $newTag = 'enable_html_encoding'; } return $newTag; }