@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | * reads record from backend if identifier is given. |
36 | 36 | * |
37 | 37 | * @param string $_identifier |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function __construct( $_identifier='' ); |
40 | 41 | |
@@ -50,6 +51,7 @@ discard block |
||
50 | 51 | * |
51 | 52 | * @param string $_attribute_name |
52 | 53 | * @param data $data |
54 | + * @return void |
|
53 | 55 | */ |
54 | 56 | public function __set($_attribute_name, $data); |
55 | 57 | |
@@ -126,6 +128,7 @@ discard block |
||
126 | 128 | /** |
127 | 129 | * destructor |
128 | 130 | * |
131 | + * @return void |
|
129 | 132 | */ |
130 | 133 | public function __destruct(); |
131 | 134 |
@@ -107,7 +107,7 @@ |
||
107 | 107 | * and automatic conversions. In most cases they are named <appname>_egw_record, |
108 | 108 | * but projectmanager is an exception to this. |
109 | 109 | * |
110 | - * @return string; |
|
110 | + * @return string |
|
111 | 111 | */ |
112 | 112 | public static function get_egw_record_class(); |
113 | 113 | } // end of iface_export_plugin |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * destructor |
55 | 55 | * |
56 | 56 | * @return |
57 | - */ |
|
57 | + void |
|
58 | 58 | public function __destruct( ); |
59 | 59 | |
60 | 60 | } // end of iface_export_record |
@@ -29,8 +29,8 @@ |
||
29 | 29 | /** |
30 | 30 | * imports entries according to given definition object. |
31 | 31 | * |
32 | - * @param stram $_stram |
|
33 | - * @param definition $_definition |
|
32 | + * @param stram $_stream |
|
33 | + * @param importexport_definition $_definition |
|
34 | 34 | * @return int number of successful imports |
35 | 35 | */ |
36 | 36 | public function import( $_stream, importexport_definition $_definition ); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * cleanup |
34 | 34 | * |
35 | 35 | * @return |
36 | - */ |
|
36 | + void |
|
37 | 37 | public function __destruct( ); |
38 | 38 | |
39 | 39 | /** |
@@ -137,8 +137,8 @@ discard block |
||
137 | 137 | /** |
138 | 138 | * updates $this->record |
139 | 139 | * |
140 | - * @param mixed $_position |
|
141 | - * @return bool |
|
140 | + * @param string $_position |
|
141 | + * @return null|false |
|
142 | 142 | */ |
143 | 143 | private function get_raw_record( $_position = 'next' ) { |
144 | 144 | switch ($_position) { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * does conversions according to $this->conversion |
246 | 246 | * |
247 | - * @return bool |
|
247 | + * @return boolean|null |
|
248 | 248 | */ |
249 | 249 | protected function do_conversions() { |
250 | 250 | if ( $record = importexport_helper_functions::conversion( $this->record, $this->conversion, $this->conversion_class )) { |
@@ -295,7 +295,7 @@ |
||
295 | 295 | * |
296 | 296 | * @param importexport_iface_import_plugin $plugin Instance of plugin to be used |
297 | 297 | * @param resource $stream |
298 | - * @param importexport_definition $definition |
|
298 | + * @param importexport_definition $definition_obj |
|
299 | 299 | * @return String HTML fragment illustrating how the data will be understood by Egw |
300 | 300 | */ |
301 | 301 | protected function preview(importexport_iface_import_plugin &$plugin, &$stream, importexport_definition &$definition_obj) |
@@ -1226,7 +1226,7 @@ discard block |
||
1226 | 1226 | * Is called as hook to participate in the linking |
1227 | 1227 | * |
1228 | 1228 | * @param int|array $info int info_id or array with infolog entry |
1229 | - * @return string|boolean string with the title, null if $info not found, false if no perms to view |
|
1229 | + * @return string string with the title, null if $info not found, false if no perms to view |
|
1230 | 1230 | */ |
1231 | 1231 | function link_title($info) |
1232 | 1232 | { |
@@ -1324,9 +1324,6 @@ discard block |
||
1324 | 1324 | /** |
1325 | 1325 | * hook called be calendar to include events or todos in the cal-dayview |
1326 | 1326 | * |
1327 | - * @param int $args[year], $args[month], $args[day] date of the events |
|
1328 | - * @param int $args[owner] owner of the events |
|
1329 | - * @param string $args[location] calendar_include_{events|todos} |
|
1330 | 1327 | * @return array of events (array with keys starttime, endtime, title, view, icon, content) |
1331 | 1328 | */ |
1332 | 1329 | function cal_to_include($args) |
@@ -1515,7 +1512,7 @@ discard block |
||
1515 | 1512 | * Get names for categories specified by their id's |
1516 | 1513 | * |
1517 | 1514 | * @param array|string $cat_id_list array or comma-sparated list of id's |
1518 | - * @return array with names |
|
1515 | + * @return string|boolean with names |
|
1519 | 1516 | */ |
1520 | 1517 | function get_categories($cat_id_list) |
1521 | 1518 | { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | * @param array &$options |
142 | 142 | * @param array &$files |
143 | 143 | * @param int $user account_id |
144 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
144 | + * @return boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
145 | 145 | */ |
146 | 146 | function propfind($path,&$options,&$files,$user,$id='') |
147 | 147 | { |
@@ -221,7 +221,7 @@ discard block |
||
221 | 221 | * |
222 | 222 | * @param string $path |
223 | 223 | * @param array $filter |
224 | - * @param array|boolean $start =false false=return all or array(start,num) |
|
224 | + * @param integer[] $start =false false=return all or array(start,num) |
|
225 | 225 | * @return array with "files" array with values for keys path and props |
226 | 226 | */ |
227 | 227 | function &propfind_callback($path,array $filter,$start=false) |
@@ -521,7 +521,7 @@ discard block |
||
521 | 521 | * @param array &$options |
522 | 522 | * @param int $id |
523 | 523 | * @param int $user =null account_id |
524 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
524 | + * @return string|boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
525 | 525 | */ |
526 | 526 | function get(&$options,$id,$user=null) |
527 | 527 | { |
@@ -546,7 +546,7 @@ discard block |
||
546 | 546 | * @param int $id |
547 | 547 | * @param int $user =null account_id of owner, default null |
548 | 548 | * @param string $prefix =null user prefix from path (eg. /ralf from /ralf/addressbook) |
549 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
549 | + * @return string|boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
550 | 550 | */ |
551 | 551 | function put(&$options,$id,$user=null,$prefix=null) |
552 | 552 | { |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | * |
683 | 683 | * @param array &$options |
684 | 684 | * @param int $id |
685 | - * @return mixed boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
685 | + * @return string|boolean boolean true on success, false on failure or string with http status (eg. '404 Not Found') |
|
686 | 686 | */ |
687 | 687 | function delete(&$options,$id) |
688 | 688 | { |
@@ -757,7 +757,7 @@ discard block |
||
757 | 757 | * etag currently uses the modifcation time (info_datemodified), 1.9.002 adds etag column, but it's not yet used! |
758 | 758 | * |
759 | 759 | * @param array|int $info array with infolog entry or info_id |
760 | - * @return string|boolean string with etag or false |
|
760 | + * @return false|string string with etag or false |
|
761 | 761 | */ |
762 | 762 | function get_etag($info) |
763 | 763 | { |