@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | return parent::dispatch(); |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $backend |
|
31 | + */ |
|
29 | 32 | function setBackend($backend) |
30 | 33 | { |
31 | 34 | if ($backend == 'xmlrpcext') { |
@@ -74,6 +77,9 @@ discard block |
||
74 | 77 | return $backend; |
75 | 78 | } |
76 | 79 | |
80 | + /** |
|
81 | + * @return string |
|
82 | + */ |
|
77 | 83 | function getEncoding() |
78 | 84 | { |
79 | 85 | return $this->encoding = $this->backends[$this->getBackend()]; |
@@ -122,6 +128,9 @@ discard block |
||
122 | 128 | return ($this->backend == 'xmlrpcext'); |
123 | 129 | } |
124 | 130 | |
131 | + /** |
|
132 | + * @return string |
|
133 | + */ |
|
125 | 134 | function getResponse() |
126 | 135 | { |
127 | 136 | if ($this->isXmlRpcExt()) { |
@@ -18,6 +18,9 @@ |
||
18 | 18 | private $subscriber; |
19 | 19 | private $credentials; |
20 | 20 | |
21 | + /** |
|
22 | + * @param integer $list_id |
|
23 | + */ |
|
21 | 24 | private function factoryList($list_id) |
22 | 25 | { |
23 | 26 | $this->list = new NewsletterList($this->kernel, $list_id); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | * |
53 | 53 | * @param struct $credentials Credentials to use the server |
54 | 54 | * |
55 | - * @return array |
|
55 | + * @return boolean |
|
56 | 56 | */ |
57 | 57 | protected function checkCredentials($credentials) |
58 | 58 | { |
@@ -49,7 +49,6 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Constructor |
51 | 51 | * |
52 | - * @param string $encoding The encoding wich the server recieves and returns data in |
|
53 | 52 | * |
54 | 53 | * @return void |
55 | 54 | */ |
@@ -62,7 +61,7 @@ discard block |
||
62 | 61 | * |
63 | 62 | * @param struct $credentials Credentials to use the server |
64 | 63 | * |
65 | - * @return array |
|
64 | + * @return boolean |
|
66 | 65 | */ |
67 | 66 | protected function checkCredentials($credentials) |
68 | 67 | { |
@@ -126,6 +126,9 @@ discard block |
||
126 | 126 | |
127 | 127 | } |
128 | 128 | |
129 | + /** |
|
130 | + * @param string $f |
|
131 | + */ |
|
129 | 132 | function deleteUploadDirectory($f) |
130 | 133 | { |
131 | 134 | if ( is_dir( $f ) ){ |
@@ -142,6 +145,7 @@ discard block |
||
142 | 145 | |
143 | 146 | /** |
144 | 147 | * grants access to given modules |
148 | + * @param string $modules |
|
145 | 149 | */ |
146 | 150 | public function grantModuleAccess($modules) |
147 | 151 | { |
@@ -234,6 +238,7 @@ discard block |
||
234 | 238 | |
235 | 239 | /** |
236 | 240 | * splits a mysql export into separate |
241 | + * @param string $sql |
|
237 | 242 | */ |
238 | 243 | static function splitSql($sql) |
239 | 244 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param string $belong_to What the address belongs to, corresponding to the ones in Address::getBelongToTypes() |
84 | 84 | * @param integer $belong_to_id From belong_to. NB not id on the address |
85 | 85 | * |
86 | - * @return object Address |
|
86 | + * @return Intraface_Address Address |
|
87 | 87 | */ |
88 | 88 | function factory($belong_to, $belong_to_id) |
89 | 89 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Returns possible belong to types |
96 | 96 | * |
97 | - * @return array |
|
97 | + * @return string[] |
|
98 | 98 | */ |
99 | 99 | public static function getBelongToTypes() |
100 | 100 | { |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | * |
221 | 221 | * @param array $array_var et array med felter med adressen. Se felterne i init funktionen: $this->fields |
222 | 222 | * |
223 | - * @return bolean true or false |
|
223 | + * @return boolean true or false |
|
224 | 224 | */ |
225 | 225 | function save($array_var) |
226 | 226 | { |
@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * Public: henter beløbet efter konvertering |
52 | - * @return beløb |
|
52 | + * @return double |
|
53 | 53 | */ |
54 | 54 | function get() |
55 | 55 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * hasIdentity() |
45 | 45 | * |
46 | - * @return mixed user id or false |
|
46 | + * @return boolean user id or false |
|
47 | 47 | */ |
48 | 48 | public function hasIdentity() |
49 | 49 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * Implements the observer pattern |
85 | 85 | * |
86 | - * @param object $observer |
|
86 | + * @param Intraface_Log $observer |
|
87 | 87 | * |
88 | 88 | * @return boolean |
89 | 89 | */ |
@@ -47,6 +47,10 @@ |
||
47 | 47 | return $this->render(); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $username |
|
52 | + * @param string $password |
|
53 | + */ |
|
50 | 54 | protected function selectUser($username, $password) |
51 | 55 | { |
52 | 56 | $adapter = new Intraface_Auth_User($this->mdb2, $this->session()->sessionId(), $username, $password); |