public function getResult()

in js/plugins/ajax-contact-extend/classes/twitter/EpiCurl.php [52:78]


  public function getResult($key = null)
  {
  if($key != null)
  {
    if(isset($this->responses[$key]))
    {
    return $this->responses[$key];
    }

    $running = null;
    do
    {
    $resp = curl_multi_exec($this->mc, $runningCurrent);
    if($running !== null && $runningCurrent != $running)
    {
      $this->storeResponses($key);
      if(isset($this->responses[$key]))
      {
      return $this->responses[$key];
      }
    }
    $running = $runningCurrent;
    }while($runningCurrent > 0);
  }

  return false;
  }