Response.php 535 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: Response.php 25510 2011-11-14 02:22:26Z yexinhao $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. class Cloud_Service_Server_Response {
  12. public $result;
  13. public $mode;
  14. public function __construct($res, $mode = null) {
  15. $this->result = $res;
  16. $this->mode = $mode;
  17. }
  18. public function getResult() {
  19. return $this->result;
  20. }
  21. public function getMode() {
  22. return $this->mode;
  23. }
  24. }