1 | <?php |
||
11 | class XMLParse |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * 提取出xml数据包中的加密消息 |
||
16 | * |
||
17 | * @param string $xmltext 待提取的xml字符串 |
||
18 | * |
||
19 | * @return string 提取出的加密消息字符串 |
||
20 | */ |
||
21 | public function extract($xmltext) |
||
34 | |||
35 | /** |
||
36 | * 生成xml消息 |
||
37 | * |
||
38 | * @param string $encrypt 加密后的消息密文 |
||
39 | * @param string $signature 安全签名 |
||
40 | * @param string $timestamp 时间戳 |
||
41 | * @param string $nonce 随机字符串 |
||
42 | */ |
||
43 | public function generate($encrypt, $signature, $timestamp, $nonce) |
||
54 | } |
||
55 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.