public function AdminCountChildOrgs($orgId) { // $orgId : IDType (parent organization ID) $this->CheckAndSetHeader(__FUNCTION__); if ($orgId > 0) { } else { throw new CbgrnSoapFault("002", __FUNCTION__); } $results = parent::AdminCountChildOrgs(array("parent_orgId" => intval($orgId))); $this->methodClose(); return $this->decodeString($results->number_child_orgs); }