ManagerAPI::getAPIKey PHP Method

getAPIKey() private method

private getAPIKey ( )
    private function getAPIKey()
    {
        $this->apiKey = NULL;
        if (isset($_GET['apiKey'])) {
            $this->apiKey = $_GET['apiKey'];
        } else {
            if (isset($_POST['apiKey'])) {
                $this->apiKey = $_POST['apiKey'];
            }
        }
    }