@@ -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 ) ){ |
@@ -234,6 +237,7 @@ discard block |
||
234 | 237 | |
235 | 238 | /** |
236 | 239 | * splits a mysql export into separate |
240 | + * @param string $sql |
|
237 | 241 | */ |
238 | 242 | static function splitSql($sql) |
239 | 243 | { |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | $this->db->setOption('portability', MDB2_PORTABILITY_NONE); |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $SQL |
|
31 | + */ |
|
29 | 32 | function query($SQL) |
30 | 33 | { |
31 | 34 | $this->result = $this->db->query($SQL); |
@@ -101,6 +104,9 @@ discard block |
||
101 | 104 | return mysql_escape_string($value); |
102 | 105 | } |
103 | 106 | |
107 | + /** |
|
108 | + * @param string $type |
|
109 | + */ |
|
104 | 110 | function quote($value, $type) |
105 | 111 | { |
106 | 112 | return $this->db->quote($value, $type); |
@@ -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 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * @param string $belong_to What the address belongs to, corresponding to the ones in Address::getBelongToTypes() |
15 | 15 | * @param integer $belong_to_id From belong_to. NB not id on the address |
16 | 16 | * |
17 | - * @return object Address |
|
17 | + * @return Intraface_Address Address |
|
18 | 18 | */ |
19 | 19 | public function findByBelongToAndId($belong_to, $belong_to_id) |
20 | 20 | { |
@@ -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 | { |
@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | $this->session_id = $session_id; |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param Intraface_Auth_User $adapter |
|
28 | + */ |
|
26 | 29 | public function authenticate($adapter) |
27 | 30 | { |
28 | 31 | if (is_callable(array($adapter, 'getIdentification'))) { |
@@ -43,7 +46,7 @@ discard block |
||
43 | 46 | /** |
44 | 47 | * hasIdentity() |
45 | 48 | * |
46 | - * @return mixed user id or false |
|
49 | + * @return boolean user id or false |
|
47 | 50 | */ |
48 | 51 | public function hasIdentity() |
49 | 52 | { |
@@ -58,6 +58,7 @@ |
||
58 | 58 | /** |
59 | 59 | * This function is dynamically redefinable. |
60 | 60 | * @see $GLOBALS['_global_function_callback_email'] |
61 | + * @param string $args |
|
61 | 62 | */ |
62 | 63 | function autoop($args) { |
63 | 64 | $args = func_get_args(); |
@@ -36,8 +36,6 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * Constructor |
38 | 38 | * |
39 | - * @param integer $intranet_id The id of the intranet |
|
40 | - * |
|
41 | 39 | * @return void |
42 | 40 | */ |
43 | 41 | function __construct($id) |
@@ -59,7 +57,7 @@ discard block |
||
59 | 57 | /** |
60 | 58 | * loads |
61 | 59 | * |
62 | - * @return void |
|
60 | + * @return integer|null |
|
63 | 61 | */ |
64 | 62 | function load() |
65 | 63 | { |
@@ -103,9 +101,9 @@ discard block |
||
103 | 101 | * @todo might be smarter to throw in an actual module object |
104 | 102 | * that would make us sure that it is actually valid |
105 | 103 | * |
106 | - * @param mixed $module The id or name of the module |
|
104 | + * @param string $module The id or name of the module |
|
107 | 105 | * |
108 | - * @return void |
|
106 | + * @return boolean |
|
109 | 107 | */ |
110 | 108 | function hasModuleAccess($module) |
111 | 109 | { |
@@ -167,7 +167,7 @@ |
||
167 | 167 | * |
168 | 168 | * @param $count (integer) how many characters to return? |
169 | 169 | * |
170 | - * @return random key (string) only letters |
|
170 | + * @return string key (string) only letters |
|
171 | 171 | */ |
172 | 172 | function randomKey($length = 1) |
173 | 173 | { |