@@ -58,6 +58,9 @@ discard block |
||
58 | 58 | } |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param string $redirect_url |
|
63 | + */ |
|
61 | 64 | private function issueOpenid1Connexion(Auth_OpenID_AuthRequest $auth_request, $redirect_url) { |
62 | 65 | $redirect_url = $auth_request->redirectURL($this->getTrustRoot(), $this->getReturnTo($redirect_url)); |
63 | 66 | |
@@ -68,6 +71,9 @@ discard block |
||
68 | 71 | header("Location: ".$redirect_url); |
69 | 72 | } |
70 | 73 | |
74 | + /** |
|
75 | + * @param string $redirect_url |
|
76 | + */ |
|
71 | 77 | private function issueOpenid2Connexion(Auth_OpenID_AuthRequest $auth_request, $redirect_url) { |
72 | 78 | $form_id = "openid_message"; |
73 | 79 | $form_html = $auth_request->htmlMarkup($this->getTrustRoot(), $this->getReturnTo($redirect_url), false, array('id' => $form_id)); |
@@ -72,6 +72,9 @@ |
||
72 | 72 | } |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $finish_url |
|
77 | + */ |
|
75 | 78 | private function startAuthentication($finish_url) { |
76 | 79 | $openid_url = $this->request->getValidated('openid_url', 'string', ''); |
77 | 80 | $return_url = get_server_url().'/my'; |
@@ -35,6 +35,9 @@ |
||
35 | 35 | return dirname(dirname(__FILE__)) . '/templates/'; |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $openid_url |
|
40 | + */ |
|
38 | 41 | private function returnLoginUrl($openid_url) { |
39 | 42 | $query_parts = array( |
40 | 43 | 'func' => OpenId_OpenIdRouter::LOGIN, |
@@ -23,6 +23,9 @@ |
||
23 | 23 | |
24 | 24 | class OpenidPluginInfo extends PluginInfo { |
25 | 25 | |
26 | + /** |
|
27 | + * @param OpenidPlugin $plugin |
|
28 | + */ |
|
26 | 29 | function __construct($plugin) { |
27 | 30 | parent::__construct($plugin); |
28 | 31 | $this->setPluginDescriptor(new OpenidPluginDescriptor()); |
@@ -28,7 +28,6 @@ |
||
28 | 28 | /** |
29 | 29 | * |
30 | 30 | * @param PHPWikiPage[] $pages |
31 | - * @param int $total_size |
|
32 | 31 | */ |
33 | 32 | public function __construct(array $pages) { |
34 | 33 | $this->pages = $pages; |
@@ -28,7 +28,7 @@ |
||
28 | 28 | $this->dao = $dao; |
29 | 29 | } |
30 | 30 | |
31 | - /** @return PaginatedWikiPages */ |
|
31 | + /** @return PaginatedPHPWikiPages */ |
|
32 | 32 | public function getPaginatedUserPages(PFUser $user, $project_id, $limit, $offset, $pagename) { |
33 | 33 | $pages = array(); |
34 | 34 |
@@ -107,6 +107,7 @@ discard block |
||
107 | 107 | /** |
108 | 108 | * @access public |
109 | 109 | * @param Iterator |
110 | + * @param integer $gid |
|
110 | 111 | */ |
111 | 112 | public function getAttachmentIterator($gid=null) { |
112 | 113 | $waArray = array(); |
@@ -518,6 +519,7 @@ discard block |
||
518 | 519 | |
519 | 520 | /** |
520 | 521 | * @access public |
522 | + * @param integer $uid |
|
521 | 523 | */ |
522 | 524 | public function isAutorized($uid) { |
523 | 525 | require_once('www/project/admin/permissions.php'); |
@@ -594,7 +596,7 @@ discard block |
||
594 | 596 | * @param Integer $offset |
595 | 597 | * @param Integer $limit |
596 | 598 | * |
597 | - * @return Boolean |
|
599 | + * @return DataAccessResult |
|
598 | 600 | */ |
599 | 601 | public function listPendingAttachments($groupId, $offset, $limit) { |
600 | 602 | $dao = $this->getDao(); |
@@ -23,11 +23,15 @@ discard block |
||
23 | 23 | /** @var PHPWikiVersionDao */ |
24 | 24 | private $wiki_version_dao; |
25 | 25 | |
26 | + /** |
|
27 | + * @param PHPWikiVersionDao $wiki_version_dao |
|
28 | + */ |
|
26 | 29 | public function __construct($wiki_version_dao) { |
27 | 30 | $this->wiki_version_dao = $wiki_version_dao; |
28 | 31 | } |
29 | 32 | |
30 | - /** @return PHPWikiPageVersion */ |
|
33 | + /** @param integer $page_id |
|
34 | +/** @return PHPWikiPageVersion */ |
|
31 | 35 | public function getPageVersion($page_id, $page_version_id) { |
32 | 36 | $page_version = null; |
33 | 37 | |
@@ -39,7 +43,8 @@ discard block |
||
39 | 43 | return $page_version; |
40 | 44 | } |
41 | 45 | |
42 | - /** @return array */ |
|
46 | + /** @param integer $page_id |
|
47 | +/** @return array */ |
|
43 | 48 | public function getPageAllVersions($page_id) { |
44 | 49 | $page_versions = array(); |
45 | 50 |
@@ -18,6 +18,10 @@ |
||
18 | 18 | */ |
19 | 19 | |
20 | 20 | class PHPWikiPluginInfo extends PluginInfo { |
21 | + |
|
22 | + /** |
|
23 | + * @param phpwikiPlugin $plugin |
|
24 | + */ |
|
21 | 25 | public function __construct($plugin) { |
22 | 26 | parent::__construct($plugin); |
23 | 27 | $this->setPluginDescriptor(new PHPWikiPluginDescriptor()); |