public function checkConnection()
{
$connection = false;
$urls = array();
$urls[] = new \Oara\Curl\Request('http://publisher.tradedoubler.com/pan/aReport3Selection.action?reportName=aAffiliateProgramOverviewReport', array());
$exportReport = $this->_client->get($urls);
if (\preg_match('/\\(([a-zA-Z]{0,4}[\\/\\.-][a-zA-Z]{0,4}[\\/\\.-][a-zA-Z]{0,4})\\)/', $exportReport[0], $match)) {
$this->_dateFormat = $match[1];
}
if ($this->_dateFormat != null) {
$connection = true;
}
return $connection;
}