1 | <?php |
||
19 | class JsonController extends BaseController { |
||
20 | |||
21 | /** |
||
22 | * {@inheritDoc} |
||
23 | * @see \Fisharebest\Webtrees\Controller\BaseController::pageHeader() |
||
24 | */ |
||
25 | public function pageHeader() { |
||
34 | |||
35 | /** |
||
36 | * {@inheritDoc} |
||
37 | * @see \Fisharebest\Webtrees\Controller\BaseController::pageFooter() |
||
38 | */ |
||
39 | public function pageFooter() { |
||
42 | |||
43 | /** |
||
44 | * Restrict access. |
||
45 | * |
||
46 | * @param bool $condition |
||
47 | * |
||
48 | * @return $this |
||
49 | */ |
||
50 | public function restrictAccess($condition) { |
||
57 | |||
58 | /** |
||
59 | * Encode the data to JSON format. |
||
60 | * |
||
61 | * @param array $data Data to encode |
||
62 | * @param number $options JSON options mask. See http://php.net/manual/fr/json.constants.php |
||
63 | */ |
||
64 | public function encode(array $data, $options = 0) { |
||
67 | } |
||
68 |