123456789101112131415161718192021 |
- <?php namespace Manage\Api\Page;
- use Dever;
- use Manage\Lib\Page;
- class View extends Page
- {
- public function __construct($load = '', $input = true, $id = false)
- {
- parent::__construct('view', $load, $input);
- }
- public function get()
- {
- $this->checkFunc();
- if (is_string($this->config)) {
- $data = Dever::call($this->config, [$this]);
- } else {
- $data = $this->config;
- }
- return $data;
- }
- }
|