date; } /** * 设置统计日期 * @param String $date * 参数示例:
2018-01-01* 此参数必填 */ public function setDate( $date) { $this->date = $date; } private $activeUser; /** * @return 活跃用户 */ public function getActiveUser() { return $this->activeUser; } /** * 设置活跃用户 * @param Integer $activeUser * 参数示例: * 此参数必填 */ public function setActiveUser( $activeUser) { $this->activeUser = $activeUser; } private $activeAccount; /** * @return 活跃账号 */ public function getActiveAccount() { return $this->activeAccount; } /** * 设置活跃账号 * @param Integer $activeAccount * 参数示例: * 此参数必填 */ public function setActiveAccount( $activeAccount) { $this->activeAccount = $activeAccount; } private $stdResult; public function setStdResult($stdResult) { $this->stdResult = $stdResult; if (array_key_exists ( "date", $this->stdResult )) { $this->date = $this->stdResult->{"date"}; } if (array_key_exists ( "activeUser", $this->stdResult )) { $this->activeUser = $this->stdResult->{"activeUser"}; } if (array_key_exists ( "activeAccount", $this->stdResult )) { $this->activeAccount = $this->stdResult->{"activeAccount"}; } } private $arrayResult; public function setArrayResult($arrayResult) { $this->arrayResult = $arrayResult; if (array_key_exists ( "date", $this->arrayResult )) { $this->date = $arrayResult['date']; } if (array_key_exists ( "activeUser", $this->arrayResult )) { $this->activeUser = $arrayResult['activeUser']; } if (array_key_exists ( "activeAccount", $this->arrayResult )) { $this->activeAccount = $arrayResult['activeAccount']; } } } ?>