ValueParameter() public static method

Get the security value
public static ValueParameter ( ) : string
return string
示例#1
0
文件: reply.php 项目: nidzix/Newscoop
",
			"language": "<?php 
    echo $f_language_selected;
    ?>
",
			"parent": "<?php 
    echo $f_comment_id;
    ?>
",
			"subject": $('#comment_subject').val(),
			"message": $('#comment_message').val(),
                        "<?php 
    echo SecurityToken::KeyParameter();
    ?>
": "<?php 
    echo SecurityToken::ValueParameter();
    ?>
"
		};

	    var call_url = '../../comment/reply/format/json';

		var res_handle = function(data) {
			window.location.href = "<?php 
    echo camp_html_article_url($articleObj, $f_language_id, "edit.php");
    ?>
";
		};

		callServer(call_url, call_data, res_handle, true);