function expandTerm($term) { $surl = "http://nif-services.neuinfo.org/servicesv1/v1/query.json?q=" . $term; $obj = getJsonObj($surl); return $obj; }
private function setACLHeader($params) { if (count($this->getAclList()) > 0) { $aclArray = $this->getAclList(); $params[PAE_Constants . DATA_ACL_HEADER] = $this->aclArray; } else { if (count(App42API::$defaultACL) > 0) { $aclArray = getJsonObj(App42API::$defaultACL); $params[PAE_Constants . DATA_ACL_HEADER] = $this->aclArray; } } }