public function __construct() { parent::__construct($consumerKey, $consumerSecret); $this->LOG = Config::getLogObject(); if (func_num_args()) { $userID = func_get_arg(0); $this->userSettings = new goUserSettings($userID); $this->setToken($this->userSettings->getFoursquareOAuthToken(), $this->userSettings->getFoursquareOAuthTokenSecret()); echo $this->userSettings->getFoursquareOAuthToken() . " " . $this->userSettings->getFoursquareOAuthTokenSecret(); } //if }