/** * 创建一个新的 hash 字符串,并写入 hash 队列, 用于表单提交验证 * * @return string */ function new_post_hash() { if (!AWS_APP::session()->client_info) { return false; } return AWS_APP::form()->new_post_hash(); }
/** * 获取系统表单提交验证处理类 * * 调用 core/form.php * * @access public * @return object */ public static function form() { if (!self::$form) { self::$form = load_class('core_form'); } return self::$form; }