View.php 402 B

1234567891011121314151617
  1. <?php namespace Manage\Api\Page;
  2. use Dever;
  3. use Manage\Lib\Page;
  4. # 详情页
  5. class View extends Page
  6. {
  7. public function __construct($load = '', $input = true, $id = false)
  8. {
  9. parent::__construct('view', $load, $input);
  10. }
  11. public function get()
  12. {
  13. $this->checkFunc();
  14. $data = Dever::call($this->config, array($this));
  15. return $data;
  16. }
  17. }