public function AdminGetChildOrgs($orgId, $offset = false, $limit = false) { // $orgId : IDType (parent organization ID) // $offset : integer (optional, if false is set, no offset) // $limit : integer (optional, if false is set, no limits) $this->CheckAndSetHeader(__FUNCTION__); if ($orgId > 0) { } else { throw new CbgrnSoapFault("002", __FUNCTION__); } $reg_args["parent_orgId"] = $orgId; if ($offset !== false) { $reg_args["offset"] = $offset; } if ($limit !== false) { $reg_args["limit"] = $limit; } $this->encodeString($reg_args); $results = parent::AdminGetChildOrgs($reg_args); $this->methodClose(); return $this->RetvalConvertArray($results->orgId); // returns IDType array }