123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/SDKDomain.class.php');
- include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/ByteArray.class.php');
- include_once (app_path('/libs/Umeng/').'com/umeng/uapp/param/UmengUappAccountInfo.class.php');
- class UmengUappGetNewAccountsResult {
-
- private $newAccountInfo;
-
- /**
- * @return UmengUappAccountInfo[]
- */
- public function getNewAccountInfo() {
- return $this->newAccountInfo;
- }
-
- /**
- * 设置UmengUappAccountInfo[]
- * @param array include @see UmengUappAccountInfo[] $newAccountInfo
-
- * 此参数必填 */
- public function setNewAccountInfo(UmengUappAccountInfo $newAccountInfo) {
- $this->newAccountInfo = $newAccountInfo;
- }
-
-
- private $stdResult;
-
- public function setStdResult($stdResult) {
- $this->stdResult = $stdResult;
- if (array_key_exists ( "newAccountInfo", $this->stdResult )) {
- $newAccountInfoResult=$this->stdResult->{"newAccountInfo"};
- $object = json_decode ( json_encode ( $newAccountInfoResult ), true );
- $this->newAccountInfo = array ();
- for($i = 0; $i < count ( $object ); $i ++) {
- $arrayobject = new ArrayObject ( $object [$i] );
- $UmengUappAccountInfoResult=new UmengUappAccountInfo();
- $UmengUappAccountInfoResult->setArrayResult($arrayobject );
- $this->newAccountInfo [$i] = $UmengUappAccountInfoResult;
- }
- }
- }
-
- private $arrayResult;
- public function setArrayResult($arrayResult) {
- $this->arrayResult = $arrayResult;
- if (array_key_exists ( "newAccountInfo", $this->arrayResult )) {
- $newAccountInfoResult=$arrayResult['newAccountInfo'];
- $this->newAccountInfo = new UmengUappAccountInfo();
- $this->newAccountInfo->setStdResult ( $newAccountInfoResult);
- }
- }
- }
- ?>
|