No Description

UmengUappDateCountInfo.class.php 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/SDKDomain.class.php');
  3. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/ByteArray.class.php');
  4. class UmengUappDateCountInfo extends SDKDomain {
  5. private $dates;
  6. /**
  7. * @return 统计日期数组
  8. */
  9. public function getDates() {
  10. return $this->dates;
  11. }
  12. /**
  13. * 设置统计日期数组
  14. * @param array include @see String[] $dates
  15. * 参数示例:<pre>"2018-01-01","2018-01-02"</pre>
  16. * 此参数必填 */
  17. public function setDates( $dates) {
  18. $this->dates = $dates;
  19. }
  20. private $data;
  21. /**
  22. * @return 统计数据数组
  23. */
  24. public function getData() {
  25. return $this->data;
  26. }
  27. /**
  28. * 设置统计数据数组
  29. * @param array include @see Integer[] $data
  30. * 参数示例:<pre>1234,5678</pre>
  31. * 此参数必填 */
  32. public function setData( $data) {
  33. $this->data = $data;
  34. }
  35. private $stdResult;
  36. public function setStdResult($stdResult) {
  37. $this->stdResult = $stdResult;
  38. if (array_key_exists ( "dates", $this->stdResult )) {
  39. $this->dates = $this->stdResult->{"dates"};
  40. }
  41. if (array_key_exists ( "data", $this->stdResult )) {
  42. $this->data = $this->stdResult->{"data"};
  43. }
  44. }
  45. private $arrayResult;
  46. public function setArrayResult($arrayResult) {
  47. $this->arrayResult = $arrayResult;
  48. if (array_key_exists ( "dates", $this->arrayResult )) {
  49. $this->dates = $arrayResult['dates'];
  50. }
  51. if (array_key_exists ( "data", $this->arrayResult )) {
  52. $this->data = $arrayResult['data'];
  53. }
  54. }
  55. }
  56. ?>