1 | <?php |
||
21 | class AjaxEvent extends Event |
||
22 | { |
||
23 | /**#@+ |
||
24 | * Ajax events |
||
25 | */ |
||
26 | const EVENT_AJAX = 'ajax'; |
||
27 | /**#@-*/ |
||
28 | |||
29 | /** |
||
30 | * @var Json |
||
31 | */ |
||
32 | protected $json; |
||
33 | |||
34 | /** |
||
35 | * @var FragmentXpath |
||
36 | */ |
||
37 | protected $fragmentXpath; |
||
38 | |||
39 | /** |
||
40 | * @return Json |
||
41 | */ |
||
42 | public function getJson() |
||
49 | |||
50 | /** |
||
51 | * @param array|Json $json |
||
52 | * @return $this |
||
53 | */ |
||
54 | public function setJson($json) |
||
71 | |||
72 | /** |
||
73 | * @return FragmentXpath |
||
74 | */ |
||
75 | public function getFragmentXpath() |
||
82 | |||
83 | /** |
||
84 | * @param string|FragmentXpath $xpath |
||
85 | * @return $this |
||
86 | */ |
||
87 | public function setFragmentXpath($xpath) |
||
104 | } |
||
105 |