@@ -470,7 +470,6 @@ |
||
470 | 470 | /** |
471 | 471 | * Connects the current user. |
472 | 472 | * completes connecting process |
473 | - * @param SS_HTTPRequest $reg |
|
474 | 473 | */ |
475 | 474 | public function Connect(SS_HTTPRequest $req) |
476 | 475 | { |
@@ -310,7 +310,6 @@ discard block |
||
310 | 310 | * If we can not find enough followers, we add any user. |
311 | 311 | * |
312 | 312 | * @param Int $limit - the number of users returned, set to -1 to return maximum |
313 | - * @param String $search - the users searched for |
|
314 | 313 | * |
315 | 314 | * @return Array (array("id" => ..., "name" => ...., "picture" => ...)) |
316 | 315 | */ |
@@ -429,7 +428,6 @@ discard block |
||
429 | 428 | /** |
430 | 429 | * Connects the current user. |
431 | 430 | * completes connecting process |
432 | - * @param SS_HTTPRequest $reg |
|
433 | 431 | */ |
434 | 432 | public function Connect(SS_HTTPRequest $req) |
435 | 433 | { |
@@ -569,10 +567,6 @@ discard block |
||
569 | 567 | |
570 | 568 | /** |
571 | 569 | * Saves the Linkedin data to the member and logs in the member if that has not been done yet. |
572 | - * @param Int $user - the ID of the current twitter user |
|
573 | - * @param Object $twitterData - the data returned from twitter |
|
574 | - * @param Object $access - access token |
|
575 | - * @param Boolean $keepLoggedIn - does the user stay logged in |
|
576 | 570 | * @return Member |
577 | 571 | */ |
578 | 572 | protected function updateUserFromLinkedinData($data) |
@@ -70,7 +70,6 @@ discard block |
||
70 | 70 | * make sure to return TRUE as response if the message is sent |
71 | 71 | * successfully |
72 | 72 | * Sends a message from the current user to someone else in the networkd |
73 | - * @param Int $userID - Facebook user id. |
|
74 | 73 | * @param String $message - Message you are sending |
75 | 74 | * @param String $link - Link to send with message |
76 | 75 | * @return Boolean - return TRUE as success |
@@ -80,5 +79,8 @@ discard block |
||
80 | 79 | |
81 | 80 | public function test($request); |
82 | 81 | |
82 | + /** |
|
83 | + * @return void |
|
84 | + */ |
|
83 | 85 | public function meondatabase(); |
84 | 86 | } |
@@ -37,7 +37,8 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * one stop shop button |
40 | - * @return Object ( |
|
40 | + * @param DataObject $member |
|
41 | + * @return ArrayData ( |
|
41 | 42 | * IsConnected, |
42 | 43 | * IsLoggedIn, |
43 | 44 | * Link, |
@@ -228,7 +228,6 @@ discard block |
||
228 | 228 | * If we can not find enough followers, we add any user. |
229 | 229 | * |
230 | 230 | * @param Int $limit - the number of users returned, set to -1 to return maximum |
231 | - * @param String $search - the users searched for |
|
232 | 231 | * |
233 | 232 | * @return Array (array("id" => ..., "name" => ...., "picture" => ...)) |
234 | 233 | */ |
@@ -353,7 +352,6 @@ discard block |
||
353 | 352 | |
354 | 353 | /** |
355 | 354 | * checks if a user exists |
356 | - * @param String $id - screen_name |
|
357 | 355 | */ |
358 | 356 | public static function is_valid_user($idOrScreenName) |
359 | 357 | { |
@@ -450,7 +448,6 @@ discard block |
||
450 | 448 | /** |
451 | 449 | * Connects the current user. |
452 | 450 | * completes connecting process |
453 | - * @param SS_HTTPRequest $reg |
|
454 | 451 | */ |
455 | 452 | public function Connect(SS_HTTPRequest $req) |
456 | 453 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Method that creates the login form for this authentication method |
17 | 17 | * |
18 | - * @param Controller The parent controller, necessary to create the |
|
18 | + * @param Controller Controller parent controller, necessary to create the |
|
19 | 19 | * appropriate form action tag |
20 | 20 | * @return Form Returns the login form to use with this authentication |
21 | 21 | * method |
@@ -4,6 +4,10 @@ |
||
4 | 4 | { |
5 | 5 | protected $authenticator_class = 'FacebookAuthenticator'; |
6 | 6 | |
7 | + /** |
|
8 | + * @param Controller $controller |
|
9 | + * @param string $method |
|
10 | + */ |
|
7 | 11 | public function __construct($controller, $method, $fields = null, $actions = null, $checkCurrentUser = true) |
8 | 12 | { |
9 | 13 | if (isset($_REQUEST['BackURL'])) { |
@@ -4,6 +4,10 @@ |
||
4 | 4 | { |
5 | 5 | protected $authenticator_class = 'LinkedinAuthenticator'; |
6 | 6 | |
7 | + /** |
|
8 | + * @param Controller $controller |
|
9 | + * @param string $method |
|
10 | + */ |
|
7 | 11 | public function __construct($controller, $method, $fields = null, $actions = null, $checkCurrentUser = true) |
8 | 12 | { |
9 | 13 | if (isset($_REQUEST['BackURL'])) { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | /** |
14 | 14 | * Method that creates the login form for this authentication method |
15 | 15 | * |
16 | - * @param Controller The parent controller, necessary to create the |
|
16 | + * @param Controller Controller parent controller, necessary to create the |
|
17 | 17 | * appropriate form action tag |
18 | 18 | * @return Form Returns the login form to use with this authentication |
19 | 19 | * method |