api_lunatours.class.php 557 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. use Luracast\Restler\RestException;
  3. /**
  4. * API class for Lunatours
  5. *
  6. * @access protected
  7. * @class DolibarrApiAccess {@requires user,external}
  8. */
  9. class LunaToursApi extends DolibarrApi
  10. {
  11. /**
  12. * Constructor
  13. *
  14. * @url GET /
  15. *
  16. */
  17. public function __construct()
  18. {
  19. global $db;
  20. $this->db = $db;
  21. }
  22. /**
  23. * checkPermission
  24. *
  25. * Return a result.
  26. *
  27. * @return array|mixed Data without useless information
  28. *
  29. * @url POST checkPermission
  30. */
  31. public function checkPermission()
  32. {
  33. }
  34. }