| @@ 426-434 (lines=9) @@ | ||
| 423 | * easy access to the connection |
|
| 424 | * |
|
| 425 | */ |
|
| 426 | public function FacebookConnect() |
|
| 427 | { |
|
| 428 | if ($this->isAjax()) { |
|
| 429 | return $this->connectUser($this->Link('FinishFacebook')); |
|
| 430 | } else { |
|
| 431 | Session::set("BackURL", $this->returnURL()); |
|
| 432 | return $this->connectUser($this->returnURL()); |
|
| 433 | } |
|
| 434 | } |
|
| 435 | ||
| 436 | /** |
|
| 437 | * STEP 1 of the connecting process |
|
| @@ 403-411 (lines=9) @@ | ||
| 400 | * easy access to the connection |
|
| 401 | * |
|
| 402 | */ |
|
| 403 | public function LinkedinConnect() |
|
| 404 | { |
|
| 405 | if ($this->isAjax()) { |
|
| 406 | return $this->connectUser($this->Link('FinishLinkedin')); |
|
| 407 | } else { |
|
| 408 | Session::set("BackURL", $this->returnURL()); |
|
| 409 | return $this->connectUser($this->returnURL()); |
|
| 410 | } |
|
| 411 | } |
|
| 412 | ||
| 413 | /** |
|
| 414 | * STEP 1 of the connecting process |
|
| @@ 417-425 (lines=9) @@ | ||
| 414 | * easy access to the connection |
|
| 415 | * |
|
| 416 | */ |
|
| 417 | public function TwitterConnect() |
|
| 418 | { |
|
| 419 | if ($this->isAjax()) { |
|
| 420 | return $this->connectUser($this->Link('FinishTwitter')); |
|
| 421 | } else { |
|
| 422 | Session::set("BackURL", $this->returnURL()); |
|
| 423 | return $this->connectUser($this->returnURL()); |
|
| 424 | } |
|
| 425 | } |
|
| 426 | ||
| 427 | /** |
|
| 428 | * STEP 1 of the connecting process |
|